]> git.saurik.com Git - wxWidgets.git/commitdiff
Replaced typedef with #define for VC++ 1.5, to prevent 'no constructor' error
authorJulian Smart <julian@anthemion.co.uk>
Tue, 22 May 2001 10:56:54 +0000 (10:56 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 22 May 2001 10:56:54 +0000 (10:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/longlong.h

index 0945d472cb45ea5d76c003bfc625083f28f0df57..607859c2c58d1ed9598cdb2bd996efc57893f1e6 100644 (file)
     #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