Make preprocessor logic more fail-safe.
authorAndy Polyakov <appro@openssl.org>
Mon, 30 Jul 2007 11:53:01 +0000 (11:53 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 30 Jul 2007 11:53:01 +0000 (11:53 +0000)
crypto/stack/safestack.h

index f24353b..5810bca 100644 (file)
@@ -60,7 +60,7 @@
 #ifndef OPENSSL_ALLOW_FCAST
 
 #ifndef OPENSSL_INLINE
-# if defined(__SUNPRO_C)
+# if defined(__SUNPRO_C) && !defined(__inline)
 #  if __SUNPRO_C>0x520
 #    define __inline inline
 #  else