[LOG2LINES]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 14 Apr 2013 15:09:52 +0000 (15:09 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 14 Apr 2013 15:09:52 +0000 (15:09 +0000)
Partly fix MSVC build.
Disable MSVC build for now.

svn path=/trunk/; revision=58757

reactos/tools/CMakeLists.txt
reactos/tools/log2lines/compat.h

index 80d0d34..79dd094 100644 (file)
@@ -11,7 +11,9 @@ add_subdirectory(cabman)
 add_subdirectory(cdmake)
 add_subdirectory(gendib)
 add_subdirectory(geninc)
+if(NOT MSVC)
 add_subdirectory(log2lines)
+endif()
 add_subdirectory(mkhive)
 add_subdirectory(obj2bin)
 add_subdirectory(spec2def)
index 1b364db..57dd1a3 100644 (file)
@@ -1,6 +1,6 @@
 #pragma once
 
-#if defined (__DJGPP__) || defined (__WIN32__)
+#if defined(_WIN32)
 
 #include <direct.h>
 
@@ -15,8 +15,7 @@
 #define CP_CMD          "copy /Y "
 #define DIR_FMT         "dir /a:-d /s /b %s > %s"
 
-#else /* not defined (__DJGPP__) || defined (__WIN32__) */
-
+#else /* not defined (_WIN32) */
 #include <limits.h>
 #include <sys/stat.h>
 
@@ -32,6 +31,6 @@
 #define CP_CMD          "cp -f "
 #define DIR_FMT         "find %s -type f > %s"
 
-#endif /* not defined (__DJGPP__) || defined (__WIN32__) */
+#endif /* not defined (_WIN32) */
 
 /* EOF */