diff src/auth/mycrypt.c @ 4058:b1fa11d4a346 HEAD

Fixed AIX compile
author Timo Sirainen <tss@iki.fi>
date Fri, 24 Feb 2006 18:42:47 +0200
parents f1b407e8debb
children 8f33680c6722
line wrap: on
line diff
--- a/src/auth/mycrypt.c	Fri Feb 24 18:10:03 2006 +0200
+++ b/src/auth/mycrypt.c	Fri Feb 24 18:42:47 2006 +0200
@@ -4,7 +4,9 @@
 
 #define _XOPEN_SOURCE 4
 #define _XOPEN_SOURCE_EXTENDED 1 /* 1 needed for AIX */
-#define _XOPEN_VERSION 4
+#ifndef _AIX
+#  define _XOPEN_VERSION 4 /* breaks AIX */
+#endif
 #define _XPG4_2
 #ifdef CRYPT_USE_XPG6
 #  define _XPG6 /* Some Solaris versions require this, some break with this */