VMS DEC C compiler found nits by Peter Prymmer.
[p5sagit/p5-mst-13.2.git] / ext / DynaLoader / dl_aix.xs
index 89b8439..e29c0f8 100644 (file)
 /* Older AIX C compilers cannot deal with C++ double-slash comments in
    the ibmcxx and/or xlC includes.  Since we only need a single file,
    be more fine-grained about what's included <hirschs@btv.ibm.com> */
+
 #ifdef USE_libC /* The define comes, when it comes, from hints/aix.pl. */
 #   define LOAD   loadAndInit
 #   define UNLOAD terminateAndUnload
-#   if defined(USE_xlC_load_h)
-#       include "/usr/lpp/xlC/include/load.h"
+#   if defined(USE_vacpp_load_h)
+#       include "/usr/vacpp/include/load.h"
 #   elif defined(USE_ibmcxx_load_h)
 #       include "/usr/ibmcxx/include/load.h"
+#   elif defined(USE_xlC_load_h)
+#       include "/usr/lpp/xlC/include/load.h"
+#   elif defined(USE_load_h)
+#       include "/usr/include/load.h"
 #   endif
 #else
 #   define LOAD   load
@@ -305,7 +310,7 @@ static void caterr(char *s)
                p++;
        switch(atoi(s)) {
        case L_ERROR_TOOMANY:
-               strcat(errbuf, "to many errors");
+               strcat(errbuf, "too many errors");
                break;
        case L_ERROR_NOLIB:
                strcat(errbuf, "can't load library");