The default C compiler on MacOS X doesn't like empty object files
authorRichard Levitte <levitte@openssl.org>
Tue, 16 Jul 2002 10:46:09 +0000 (10:46 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 16 Jul 2002 10:46:09 +0000 (10:46 +0000)
crypto/ebcdic.c

index bc968ea807f26e386d291785a8a5eebe8b15499b..d1bece87f7d77550a70fbb5346ce6bbecd7c01fb 100644 (file)
@@ -211,8 +211,8 @@ ascii2ebcdic(void *dest, const void *srce, size_t count)
 }
 
 #else /*CHARSET_EBCDIC*/
-#include <openssl/opensslconf.h>
-#if defined(PEDANTIC) || defined(__DECC)
+#include <openssl/e_os2.h>
+#if defined(PEDANTIC) || defined(__DECC) || defined(OPENSSL_SYS_MACOSX)
 static void *dummy=&dummy;
 #endif
 #endif