summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEtienne Guesnet <etienne.guesnet.external@atos.net>2020-01-31 14:37:44 +0100
committerDaniel Black <daniel@mariadb.org>2020-12-16 08:07:04 +1100
commit2f5d372444cff53914cfcd118e92a91f575cec35 (patch)
tree8a9e82016a1c4f564f1dc44ff74280af9c8ac5be /include
parentee69c153d9a20675dcfb368ab52b7a63d15f112d (diff)
downloadmariadb-git-2f5d372444cff53914cfcd118e92a91f575cec35.tar.gz
Add build on AIX
Diffstat (limited to 'include')
-rw-r--r--include/my_global.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 86ef5f882f6..081e4d6e932 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -135,13 +135,6 @@
#endif /* _WIN32*/
-
-/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
-#if defined(_AIX) && defined(_LARGE_FILE_API)
-#undef _LARGE_FILE_API
-#undef __GNUG__
-#endif
-
/*
The macros below are used to allow build of Universal/fat binaries of
MySQL and MySQL applications under darwin.
@@ -270,22 +263,6 @@ C_MODE_END
#endif
#endif /* !defined(__WIN__) */
-/* Go around some bugs in different OS and compilers */
-#ifdef _AIX /* By soren@t.dk */
-#define _H_STRINGS
-#define _SYS_STREAM_H
-/* #define _AIX32_CURSES */ /* XXX: this breaks AIX 4.3.3 (others?). */
-#define ulonglong2double(A) my_ulonglong2double(A)
-#define my_off_t2double(A) my_ulonglong2double(A)
-C_MODE_START
-inline double my_ulonglong2double(unsigned long long A) { return (double)A; }
-C_MODE_END
-#endif /* _AIX */
-
-#ifdef UNDEF_HAVE_INITGROUPS /* For AIX 4.3 */
-#undef HAVE_INITGROUPS
-#endif
-
/* gcc/egcs issues */
#if defined(__GNUC) && defined(__EXCEPTIONS)
@@ -295,16 +272,6 @@ C_MODE_END
#if defined(_lint) && !defined(lint)
#define lint
#endif
-#if SIZEOF_LONG_LONG > 4 && !defined(_LONG_LONG)
-#define _LONG_LONG 1 /* For AIX string library */
-#endif
-
-/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
-#if defined(_AIX) && defined(_LARGE_FILE_API)
-#undef _LARGE_FILE_API
-#undef __GNUG__
-#endif
-
#ifndef stdin
#include <stdio.h>
@@ -332,13 +299,6 @@ C_MODE_END
#include <sys/types.h>
#endif
-/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
-#if defined(_AIX) && defined(_LARGE_FILE_API)
-#undef _LARGE_FILE_API
-#undef __GNUG__
-#endif
-
-
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
@@ -1197,12 +1157,6 @@ typedef struct { const char *dli_fname, dli_fbase; } Dl_info;
#define HAVE_EXTERNAL_CLIENT
#endif /* EMBEDDED_LIBRARY */
-/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
-#if defined(_AIX) && defined(_LARGE_FILE_API)
-#undef _LARGE_FILE_API
-#undef __GNUG__
-#endif
-
/*
Provide defaults for the CPU cache line size, if it has not been detected by
CMake using getconf