0028838: Configuration - undefine macros coming from X11 headers in place of collision
[occt.git] / src / OSD / OSD_Process.hxx
index 573b0a4..e897d3f 100644 (file)
@@ -29,6 +29,10 @@ class TCollection_AsciiString;
 class Quantity_Date;
 class OSD_Path;
 
+// undefine SetCurrentDirectory that can be #defined by previous inclusion of windows.h
+#ifdef SetCurrentDirectory
+# undef SetCurrentDirectory
+#endif
 
 //! A set of system process tools
 class OSD_Process