From: cascade Date: Fri, 7 Sep 2007 14:50:58 +0000 (+0000) Subject: OCC16602 [OCC Forum] Integration of code porting to MacOSX by Torsten Sadowski X-Git-Tag: V6_7_1~133 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=7146d18694d374a7b4d32f331fef3501cbed598e;p=occt-wok.git OCC16602 [OCC Forum] Integration of code porting to MacOSX by Torsten Sadowski --- 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