From: Julian Smart Date: Tue, 22 May 2001 10:56:54 +0000 (+0000) Subject: Replaced typedef with #define for VC++ 1.5, to prevent 'no constructor' error X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/92f5ff59ccde20a9395084bb29c281ed6831b1b1 Replaced typedef with #define for VC++ 1.5, to prevent 'no constructor' error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/longlong.h b/include/wx/longlong.h index 0945d472cb..607859c2c5 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -88,7 +88,12 @@ #endif class WXDLLEXPORT wxLongLongWx; +#if defined(__VISUALC__) && !defined(__WIN32__) + #define wxLongLong wxLongLongWx +#else typedef wxLongLongWx wxLongLong; +#endif + #else // if nothing is defined, use native implementation by default, of course #ifndef wxUSE_LONGLONG_NATIVE