Add support for shared libraries with OS/2.
[oweals/openssl.git] / crypto / pem / pem_err.c
index 642129da2043c5fbb968fb5852eba54fc2c18c77..3b39b84d66e13798348cc712917453d9a5d7b926 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/pem.h>
 
 /* BEGIN ERROR CODES */
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
 static ERR_STRING_DATA PEM_str_functs[]=
        {
 {ERR_PACK(0,PEM_F_D2I_PKCS8PRIVATEKEY_BIO,0),  "d2i_PKCS8PrivateKey_bio"},
@@ -121,7 +122,7 @@ void ERR_load_PEM_strings(void)
        if (init)
                {
                init=0;
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
                ERR_load_strings(ERR_LIB_PEM,PEM_str_functs);
                ERR_load_strings(ERR_LIB_PEM,PEM_str_reasons);
 #endif