summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:28:41 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:28:41 -0300
commit3c418c57097e307f1b6b3af58a35c72bd4771a55 (patch)
tree2a06c80879a252c00123c7cff4a22e99843b73b9 /include/my_global.h
parent9f3aa51ba15e8a19670fc2ccf786f893f9b37b64 (diff)
downloadmariadb-git-3c418c57097e307f1b6b3af58a35c72bd4771a55.tar.gz
WL#5486: Remove code for unsupported platforms
Remove QNX specific code.
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 5480f7ce2c1..678a63d7af2 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -46,15 +46,6 @@
#define HAVE_ERRNO_AS_DEFINE
#endif /* __CYGWIN__ */
-#if defined(__QNXNTO__) && !defined(FD_SETSIZE)
-#define FD_SETSIZE 1024 /* Max number of file descriptor bits in
- fd_set, used when calling 'select'
- Must be defined before including
- "sys/select.h" and "sys/time.h"
- */
-#endif
-
-
/* to make command line shorter we'll define USE_PRAGMA_INTERFACE here */
#ifdef USE_PRAGMA_IMPLEMENTATION
#define USE_PRAGMA_INTERFACE
@@ -566,22 +557,6 @@ C_MODE_END
extern "C" int madvise(void *addr, size_t len, int behav);
#endif
-#ifdef __QNXNTO__
-/* This has to be after include limits.h */
-#define HAVE_ERRNO_AS_DEFINE
-#define HAVE_FCNTL_LOCK
-#undef HAVE_FINITE
-#undef LONGLONG_MIN /* These get wrongly defined in QNX 6.2 */
-#undef LONGLONG_MAX /* standard system library 'limits.h' */
-#ifdef __cplusplus
-#ifndef HAVE_RINT
-#define HAVE_RINT
-#endif /* rint() and isnan() functions are not */
-#define rint(a) std::rint(a) /* visible in C++ scope due to an error */
-#define isnan(a) std::isnan(a) /* in the usr/include/math.h on QNX */
-#endif
-#endif
-
/* We can not live without the following defines */
#define USE_MYFUNC 1 /* Must use syscall indirection */