Visualage fixes for Stefan's socket implementations and true to TRUE in db.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,6 +60,32 @@
|
||||
|
||||
#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
|
||||
|
Reference in New Issue
Block a user