Avoid warning about empty structures and always define CHECKED_PTR_OF
[openssl.git] / crypto / stack / safestack.h
index d57519f..50de737 100644 (file)
 
 #include <openssl/stack.h>
 
-#ifdef DEBUG_SAFESTACK
-
 #ifndef CHECKED_PTR_OF
 #define CHECKED_PTR_OF(type, p) \
     ((void*) (1 ? p : (type*)0))
 #endif
 
+#ifdef DEBUG_SAFESTACK
+
 #define CHECKED_SK_FREE_FUNC(type, p) \
     ((void (*)(void *)) ((1 ? p : (void (*)(type *))0)))