summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorjani@hynda.mysql.fi <>2002-03-13 01:28:13 +0200
committerjani@hynda.mysql.fi <>2002-03-13 01:28:13 +0200
commit609d7520fc1ae53e4e0194c624af1e98b970bea4 (patch)
tree85df10184368163650d096e55e2c9127a0c3e769 /include/my_global.h
parent39c4a730fd736c4701c16654fe43a6ecc14c180c (diff)
downloadmariadb-git-609d7520fc1ae53e4e0194c624af1e98b970bea4.tar.gz
Modifications to MySQL source in order to make it compile on QnX.
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 6a7385e18a2..01476c386c8 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -132,6 +132,14 @@
/* #define _AIX32_CURSES */ /* XXX: this breaks AIX 4.3.3 (others?). */
#endif
+#ifdef __QNXNTO__
+#define HAVE_ERRNO_AS_DEFINE
+#define HAVE_FCNTL_LOCK
+#undef HAVE_SYS_UN_H
+#undef HAVE_FINITE
+#undef HAVE_RINT
+#endif
+
#ifdef HAVE_BROKEN_SNPRINTF /* HPUX 10.20 don't have this defined */
#undef HAVE_SNPRINTF
#endif