summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-03-15 18:45:29 +0100
committerunknown <serg@serg.mylan>2005-03-15 18:45:29 +0100
commitfc9e2b42d93269b5f98d80e935f31877c87c7567 (patch)
tree443fb54d859a40ac5d3543e373c0ea556efd519e /include/my_global.h
parentb2cabf32fe97e673f454d5cc3445019c2f2e8ed6 (diff)
downloadmariadb-git-fc9e2b42d93269b5f98d80e935f31877c87c7567.tar.gz
sun forte does not define __sun__, only __sun and sun (gcc defines all the three)
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index e78ec21523d..2601c53bb92 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -131,7 +131,7 @@
that dictates _XOPEN_SOURCE=600, but Solaris checks for 500.
So, let's define 500 for solaris only.
*/
-#ifdef __sun__
+#ifdef __sun
#define _XOPEN_SOURCE 500
#endif