summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorkent@mysql.com/kent-amd64.(none) <>2007-11-30 01:22:15 +0100
committerkent@mysql.com/kent-amd64.(none) <>2007-11-30 01:22:15 +0100
commit611b737af3c7ac947ff857694fae5f7b34bafefb (patch)
tree1ea0ae8cf05d0179c2a8bca7285f7d7f429c5574 /include/my_global.h
parent369d75dc754c9f96d83b3897e0ce62c310f1b9ef (diff)
downloadmariadb-git-611b737af3c7ac947ff857694fae5f7b34bafefb.tar.gz
Excluded verbose and bad change to Mac OS X universal binaries handling
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 7bd82533575..5e31a66e5e3 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -95,9 +95,9 @@
# undef SIZEOF_LONG_LONG
# undef SIZEOF_OFF_T
# undef SIZEOF_SHORT
-# undef WORDS_BIGENDIAN
#if defined(__i386__)
+# undef WORDS_BIGENDIAN
# define SIZEOF_CHARP 4
# define SIZEOF_INT 4
# define SIZEOF_LONG 4
@@ -114,23 +114,6 @@
# define SIZEOF_OFF_T 8
# define SIZEOF_SHORT 2
-#if defined(__x86_64__)
-# define SIZEOF_CHARP 8
-# define SIZEOF_INT 4
-# define SIZEOF_LONG 8
-# define SIZEOF_LONG_LONG 8
-# define SIZEOF_OFF_T 8
-# define SIZEOF_SHORT 2
-
-#elif defined(__ppc64__)
-# define WORDS_BIGENDIAN
-# define SIZEOF_CHARP 8
-# define SIZEOF_INT 4
-# define SIZEOF_LONG 8
-# define SIZEOF_LONG_LONG 8
-# define SIZEOF_OFF_T 8
-# define SIZEOF_SHORT 2
-
#else
# error Building FAT binary for an unknown architecture.
#endif