Make sure strdup() is properly declared.
[oweals/openssl.git] / crypto / comp / comp_err.c
index 77a3f7070c511899203f40fe4f696be6be3350d9..1652b8c2c4a1faf52280727077e68e35e119378f 100644 (file)
@@ -54,7 +54,8 @@
  */
 
 /* NOTE: this file was auto generated by the mkerr.pl script: any changes
- * made to it will be overwritten when the script next updates this file.
+ * made to it will be overwritten when the script next updates this file,
+ * only reason strings will be preserved.
  */
 
 #include <stdio.h>
@@ -62,7 +63,7 @@
 #include <openssl/comp.h>
 
 /* BEGIN ERROR CODES */
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
 static ERR_STRING_DATA COMP_str_functs[]=
        {
 {0,NULL}
@@ -82,7 +83,7 @@ void ERR_load_COMP_strings(void)
        if (init)
                {
                init=0;
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
                ERR_load_strings(ERR_LIB_COMP,COMP_str_functs);
                ERR_load_strings(ERR_LIB_COMP,COMP_str_reasons);
 #endif