summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2005-05-09 11:23:12 +0200
committermsvensson@neptunus.(none) <>2005-05-09 11:23:12 +0200
commit670eef8756988ce03f64ed19dd361bb19ef07cfc (patch)
tree1960de2a8328f906c885a900aff9bcd59d5cf3fe /include/my_global.h
parent1ad41d3728450e4015e2d565f363d2d4ea5d24bd (diff)
parent5b5565c30a8678ab69b1089aef3c05c8bba29d08 (diff)
downloadmariadb-git-670eef8756988ce03f64ed19dd361bb19ef07cfc.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/bug10241
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 017cdea140a..4e6d622b6f4 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -43,6 +43,11 @@
#define HAVE_ERRNO_AS_DEFINE
#endif /* __CYGWIN__ */
+/* Determine when to use "#pragma interface" */
+#if !defined(__CYGWIN__) && !defined(__ICC) && (__GNUC__ < 3)
+#define USE_PRAGMA_INTERFACE
+#endif
+
#if defined(i386) && !defined(__i386__)
#define __i386__
#endif