Fixes errno.h problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,6 +44,7 @@
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#include <nerrno.h>
|
||||||
#include <ioctl.h>
|
#include <ioctl.h>
|
||||||
#include <select.h>
|
#include <select.h>
|
||||||
|
|
||||||
|
@@ -35,30 +35,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
//
|
|
||||||
// already defined via nerror.h in app.h so undef them
|
|
||||||
//
|
|
||||||
#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>
|
#include <errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
@@ -43,30 +43,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
//
|
|
||||||
// already defined via nerror.h in app.h so undef them
|
|
||||||
//
|
|
||||||
#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>
|
#include <errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user