Replace __attribute__((malloc)) with __attribute__((__malloc__)) in macros.h
[openssl.git] / include / openssl / macros.h
index b59c6ed3417eee2def7c45f21be13585679f3cf3..4579fc8eb3df1f35a62b899919aa045da7e68474 100644 (file)
 
 # ifndef OSSL_CRYPTO_ALLOC
 #  if defined(__GNUC__)
-#   define OSSL_CRYPTO_ALLOC __attribute__((malloc))
+#   define OSSL_CRYPTO_ALLOC __attribute__((__malloc__))
 #  elif defined(_MSC_VER)
 #   define OSSL_CRYPTO_ALLOC __declspec(restrict)
 #  else