Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define
[openssl.git] / crypto / dso / dso_err.c
index 0d7134646ef7f0c96e137e779fe60fcc97fd1a67..b6142404d575f325478b6f83feebdf9f7f2ca0df 100644 (file)
@@ -63,7 +63,7 @@
 #include <openssl/dso.h>
 
 /* BEGIN ERROR CODES */
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
 static ERR_STRING_DATA DSO_str_functs[]=
        {
 {ERR_PACK(0,DSO_F_DLFCN_BIND_FUNC,0),  "DLFCN_BIND_FUNC"},
@@ -126,7 +126,7 @@ void ERR_load_DSO_strings(void)
        if (init)
                {
                init=0;
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
                ERR_load_strings(ERR_LIB_DSO,DSO_str_functs);
                ERR_load_strings(ERR_LIB_DSO,DSO_str_reasons);
 #endif