[dovecot-cvs] dovecot/src/auth mycrypt.c,1.9,1.10

cras at dovecot.org cras at dovecot.org
Fri Feb 24 18:42:49 EET 2006


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv709

Modified Files:
	mycrypt.c 
Log Message:
Fixed AIX compile



Index: mycrypt.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/mycrypt.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mycrypt.c	18 Sep 2005 17:50:09 -0000	1.9
+++ mycrypt.c	24 Feb 2006 16:42:47 -0000	1.10
@@ -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 */



More information about the dovecot-cvs mailing list