Diffstat (limited to 'mkspecs/hpux-acc-64/qplatformdefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | mkspecs/hpux-acc-64/qplatformdefs.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mkspecs/hpux-acc-64/qplatformdefs.h b/mkspecs/hpux-acc-64/qplatformdefs.h index 8a1410c..1779974 100644 --- a/mkspecs/hpux-acc-64/qplatformdefs.h +++ b/mkspecs/hpux-acc-64/qplatformdefs.h @@ -22,9 +22,7 @@ #include <grp.h> #include <pwd.h> #include <signal.h> -#include <dl.h> -#define QT_HPUX_LD -#define QT_NO_LIBRARY_UNLOAD +#include <dlfcn.h> #include <sys/types.h> #include <sys/ioctl.h> @@ -37,7 +35,15 @@ // 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(); |