From 7146d18694d374a7b4d32f331fef3501cbed598e Mon Sep 17 00:00:00 2001 From: cascade Date: Fri, 7 Sep 2007 14:50:58 +0000 Subject: [PATCH] OCC16602 [OCC Forum] Integration of code porting to MacOSX by Torsten Sadowski --- src/WOKUtils/WOKUtils_Path.cxx | 9 +++++++++ src/WOKUtils/WOKUtils_Path_proto.hxx | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/src/WOKUtils/WOKUtils_Path.cxx b/src/WOKUtils/WOKUtils_Path.cxx index e644fb4..57792fa 100755 --- a/src/WOKUtils/WOKUtils_Path.cxx +++ b/src/WOKUtils/WOKUtils_Path.cxx @@ -12,6 +12,15 @@ #endif #ifdef WNT + +#ifdef CreateFile +# undef CreateFile +#endif + +#ifdef CreateDirectory +# undef CreateDirectory +#endif + # include # define WOKUtils_Path WOKNT_Path #else diff --git a/src/WOKUtils/WOKUtils_Path_proto.hxx b/src/WOKUtils/WOKUtils_Path_proto.hxx index 7b05f72..d47087e 100755 --- a/src/WOKUtils/WOKUtils_Path_proto.hxx +++ b/src/WOKUtils/WOKUtils_Path_proto.hxx @@ -10,7 +10,13 @@ #include #ifdef WNT +#ifdef CreateFile +# undef CreateFile +#endif +#ifdef CreateDirectory +# undef CreateDirectory +#endif #include #define WOKUtils_Path WOKNT_Path -- 2.39.5