summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2005-05-20 16:21:23 +0300
committerunknown <bell@sanja.is.com.ua>2005-05-20 16:21:23 +0300
commitcd2150993562ca2465a91340d5bd9f2aefd50784 (patch)
treeffd8ad7d8c58410e0a389d7eb678bc10aebb3082 /include
parent648b072da24dfb0cfbcbeb95928fb9c9fbab94f6 (diff)
downloadmariadb-git-cd2150993562ca2465a91340d5bd9f2aefd50784.tar.gz
Macos 10.4 compatibility changes
include/my_global.h: make it compilable on mac os ndb/src/kernel/SimBlockList.cpp: make it compilable with gcc 4.0
Diffstat (limited to 'include')
-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 5448aa3e871..068832e927d 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -285,7 +285,7 @@ C_MODE_END
# endif
#endif /* TIME_WITH_SYS_TIME */
#ifdef HAVE_UNISTD_H
-#if defined(HAVE_OPENSSL) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(__OpenBSD__)
+#if defined(HAVE_OPENSSL) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(__OpenBSD__) && !defined(__APPLE__)
#define crypt unistd_crypt
#endif
#include <unistd.h>