summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-05-25 22:00:14 +0300
committerunknown <monty@mysql.com>2004-05-25 22:00:14 +0300
commitb3851363ba8df0b3f55ecb358849a212db4b12a8 (patch)
tree2c56473da947b9807f0d1668171870a8e3dbc736 /tools
parent699cbc02cc3eac51524a56fc106d013633f336f6 (diff)
downloadmariadb-git-b3851363ba8df0b3f55ecb358849a212db4b12a8.tar.gz
Added patches from Novell
Build-tools/Do-compile: Fixed indentation configure.in: Added patches from Novell Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS extra/perror.c: Fixed error number reporting to not report 'Unknown error' include/my_global.h: Defines to make NETWARE patches cleaner include/thr_alarm.h: Fixed wrong macro netware/mysql_install_db.c: Indentation fix
Diffstat (limited to 'tools')
-rw-r--r--tools/mysqlmanager.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/mysqlmanager.c b/tools/mysqlmanager.c
index 790a5d56b5a..27dfa18e421 100644
--- a/tools/mysqlmanager.c
+++ b/tools/mysqlmanager.c
@@ -21,6 +21,8 @@
Sasha Pachev <sasha@mysql.com>
*/
+#ifndef __NETWARE__
+
#include <my_global.h>
#include <my_pthread.h>
#include <mysql.h>
@@ -1846,3 +1848,16 @@ int main(int argc, char** argv)
else
return daemonize();
}
+
+#else
+
+#include <stdio.h>
+
+int main(void)
+{
+ fprintf(stderr,"This tool has not been ported to NetWare\n");
+ return 0;
+}
+
+#endif /* __NETWARE__ */
+