]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixes errno.h problems with OS/2
authorDavid Webster <Dave.Webster@bhmi.com>
Tue, 22 May 2001 17:25:57 +0000 (17:25 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Tue, 22 May 2001 17:25:57 +0000 (17:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index 9bc2b497f76d2747498510149244df592c75fcc5..6020b8780d182b7ee3c29203f59b716dba033cca 100644 (file)
 
 #if !defined(__WATCOMC__)
     #if !(defined(_MSC_VER) && (_MSC_VER > 800))
-        //
-        // OS/2's App.h is being included first which includes nerrno.h
-        // so these are already defined.  Undef them if defined before
-        // including errno.h
-        //
-        #ifdef EEXIST
-        #undef EEXIST
-        #endif
-        #ifdef ENOENT
-        #undef ENOENT
-        #endif
-        #ifdef EMFILE
-        #undef EMFILE
-        #endif
-        #ifdef EINTR
-        #undef EINTR
-        #endif
-        #ifdef EINVAL
-        #undef EINVAL
-        #endif
-        #ifdef ENOMEM
-        #undef ENOMEM
-        #endif
-        #ifdef EACCES
-        #undef EACCES
-        #endif
         #include <errno.h>
     #endif
 #endif