summaryrefslogtreecommitdiff
path: root/include/config-netware.h
diff options
context:
space:
mode:
authorjani@ua141d10.elisa.omakaista.fi <>2006-02-02 16:22:31 +0200
committerjani@ua141d10.elisa.omakaista.fi <>2006-02-02 16:22:31 +0200
commit2dcc483e6c57c42a70b2bcc7222a7733af8fbb01 (patch)
treef474cf6a431a38ad063fdb2f0bf85385e3a7f970 /include/config-netware.h
parent065f8066d5de10cf998b02d0e02216f61d87e9db (diff)
downloadmariadb-git-2dcc483e6c57c42a70b2bcc7222a7733af8fbb01.tar.gz
Several Netware specific fixes.
Diffstat (limited to 'include/config-netware.h')
-rw-r--r--include/config-netware.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/config-netware.h b/include/config-netware.h
index 5a8b926a669..e2fc75ab90d 100644
--- a/include/config-netware.h
+++ b/include/config-netware.h
@@ -19,6 +19,14 @@
#ifndef _config_netware_h
#define _config_netware_h
+#define __event_h__
+#define _EVENT_H_
+/*
+ These two #define(s) are needed as both libc of NetWare and MySQL have
+ files named event.h which causes compilation errors.
+*/
+
+
/* required headers */
#include <unistd.h>
#include <stdio.h>
@@ -35,6 +43,12 @@
#include <pthread.h>
#include <termios.h>
+#undef _EVENT_H_
+/*
+ This #undef exists here because both libc of NetWare and MySQL have
+ files named event.h which causes compilation errors.
+*/
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -65,6 +79,13 @@ extern "C" {
#undef HAVE_STPCPY
/* changes end */
+/* Changes made to make use of LibC-June-2005 for building purpose */
+#undef HAVE_GETPASS
+#undef HAVE_GETRLIMIT
+#undef HAVE_GETRUSAGE
+#undef HAVE_INITGROUPS
+/* Changes end - LibC-June-2005 */
+
/* no libc crypt() function */
#ifdef HAVE_OPENSSL
#define HAVE_CRYPT 1