]> OCCT Git - occt-wok.git/commitdiff
compilation problem on Windows cxx only
authorcascade <cascade@opencascade.com>
Wed, 20 Sep 2006 14:51:13 +0000 (14:51 +0000)
committercascade <cascade@opencascade.com>
Wed, 20 Sep 2006 14:51:13 +0000 (14:51 +0000)
src/WOKTools/WOKTools_BasicMap.cxx

index 0cd9a5688ce9b17b763b0554a55ec1edbd98b4e8..03c650c0703548ca3fa64bde5abbfc32f6003b61 100755 (executable)
@@ -6,9 +6,6 @@
 #include <WOKTools_BasicMap.ixx>
 #include <TCollection.hxx>
 #include <WOKTools_BasicMapIterator.hxx>
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
 
 #ifdef WNT
 #include <windows.h>
 # include <memory.h>
 #endif
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
-#ifdef HAVE_MALLOC_H
-# include <malloc.h>
-#endif
-
-#ifdef HAVE_IOMANIP
-#include <iomanip>
-#elif defined (HAVE_IOMANIP_H)
-# include <iomanip.h>
-#else
-  #error "check config.h file or compilation options: either HAVE_IOMANIP or HAVE_IOMANIP_H should be defined"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+# ifdef HAVE_UNISTD_H
+#  include <unistd.h>
+# endif
+
+# ifdef HAVE_MALLOC_H
+#  include <malloc.h>
+# endif
+
+# ifdef HAVE_IOMANIP
+#  include <iomanip>
+# elif defined (HAVE_IOMANIP_H)
+#  include <iomanip.h>
+# else
+#  error "check config.h file or compilation options: either HAVE_IOMANIP or HAVE_IOMANIP_H should be defined"
+# endif
 #endif
 
 //=======================================================================