diff --git a/source/include/safe_string.h b/source/include/safe_string.h index d278e29..b83e548 100644 --- a/source/include/safe_string.h +++ b/source/include/safe_string.h @@ -75,12 +75,12 @@ non-existant fuctions */ char * __unsafe_string_function_usage_here__(void); +#ifdef HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS + size_t __unsafe_string_function_usage_here_size_t__(void); size_t __unsafe_string_function_usage_here_char__(void); -#ifdef HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS - /* if the compiler will optimize out function calls, then use this to tell if we are have the correct types (this works only where sizeof() returns the size of the buffer, not the size of the pointer). */