openssl_fcast should always be defined, not just with DEBUG_SAFESTACK
[openssl.git] / crypto / stack / safestack.h
index af2b423..e5f5be9 100644 (file)
 
 #include <openssl/stack.h>
 
-#ifdef DEBUG_SAFESTACK
-
 typedef void (*openssl_fptr)(void);
 #define openssl_fcast(f) ((openssl_fptr)f)
 
+#ifdef DEBUG_SAFESTACK
+
 #define STACK_OF(type) struct stack_st_##type
 #define PREDECLARE_STACK_OF(type) STACK_OF(type);