Diffstat (limited to 'mkspecs/hpux-acc/qplatformdefs.h') (more/less context) (show whitespace changes)
-rw-r--r-- | mkspecs/hpux-acc/qplatformdefs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mkspecs/hpux-acc/qplatformdefs.h b/mkspecs/hpux-acc/qplatformdefs.h index fb74ca7..d6dc587 100644 --- a/mkspecs/hpux-acc/qplatformdefs.h +++ b/mkspecs/hpux-acc/qplatformdefs.h @@ -38,5 +38,13 @@ // DNS header files are not fully covered by X/Open specifications. // In particular nothing is said about res_* :/ +// #ifdef __cplusplus +// extern "C" { +// #endif +// getres() is mangled because of missing extern "C" on +// HP-UX 11.x systems missing PHCO_23963 #include <resolv.h> +// #ifdef __cplusplus +// } +// #endif // Undeclared - at least on HP-UX 10.20. extern "C" int res_init(); @@ -84,3 +92,4 @@ extern "C" int res_init(); #endif + #endif // QPLATFORMDEFS_H |