From e3f394990718707e09ad935cc81b734f00ef93f1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 25 Feb 1999 13:38:09 +0000 Subject: [PATCH] more HP-UX fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index 76161c8ca7..35c46f8e3a 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -86,11 +86,16 @@ #endif // __SALFORDC__ // Digital Unix C++ compiler only defines this symbol for .cxx and .hxx files, -// so definte it ourselves +// so define it ourselves #ifdef __DECCXX #define __cplusplus #endif // __DECCXX +// Resolves linking problems under HP-UX +#if defined(__HPUX__) && !defined(__GNUG__) + #define va_list __gnuc_va_list +#endif // HP-UX + ////////////////////////////////////////////////////////////////////////////////// // Currently Only MS-Windows/NT, XView and Motif are supported // -- 2.45.2