X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c48269b9f7afca9c8e7076e0ceb06b933b2e88b8:/src/os2/utilsexc.cpp diff --git a/src/os2/utilsexc.cpp b/src/os2/utilsexc.cpp index f9f3885e16..c13b9b3473 100644 --- a/src/os2/utilsexc.cpp +++ b/src/os2/utilsexc.cpp @@ -43,6 +43,30 @@ #include #include #include +// +// 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 #include