]> git.saurik.com Git - wxWidgets.git/commitdiff
MS-DOS fix
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 4 Dec 2001 23:45:16 +0000 (23:45 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 4 Dec 2001 23:45:16 +0000 (23:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/platform.h

index b0443cb2b2e1fe98c3b423da695ebf43e91f3f49..6ede4d027832cb021c44cfb4dd9ee231e96ace6a 100644 (file)
         #define LINKAGEMODE _Optlink
     #endif
     #define wxSIZE_T_IS_UINT
+
+#elif defined(__DOS__)
+    /* size_t is the same as unsigned int for Watcom 11 compiler, */
+    /* so define it if it hadn't been done by configure yet */
+    #if !defined(wxSIZE_T_IS_UINT) && !defined(wxSIZE_T_IS_ULONG)
+        #define wxSIZE_T_IS_UINT
+    #endif
 #else   /* Windows */
     #ifndef __WINDOWS__
         #define __WINDOWS__