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 f24353b13137aadf360ed2780cf90dec4e3fb00a..5810bca1e9be77b01b87e19673937675113737a3 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