X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/539dae520079857cd3bc5aaaf280a85a4e3b78c6..9018abe3ef28d237b0421c8d96987907adbe5532:/include/wx/defs.h?ds=sidebyside 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 //