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 //