Author: spetreolle Date: Sun Apr 14 15:09:52 2013 New Revision: 58757
URL: http://svn.reactos.org/svn/reactos?rev=58757&view=rev Log: [LOG2LINES] Partly fix MSVC build. Disable MSVC build for now.
Modified: trunk/reactos/tools/CMakeLists.txt trunk/reactos/tools/log2lines/compat.h
Modified: trunk/reactos/tools/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/CMakeLists.txt?rev=58... ============================================================================== --- trunk/reactos/tools/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/tools/CMakeLists.txt [iso-8859-1] Sun Apr 14 15:09:52 2013 @@ -11,7 +11,9 @@ 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)
Modified: trunk/reactos/tools/log2lines/compat.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/log2lines/compat.h?re... ============================================================================== --- trunk/reactos/tools/log2lines/compat.h [iso-8859-1] (original) +++ trunk/reactos/tools/log2lines/compat.h [iso-8859-1] Sun Apr 14 15:09:52 2013 @@ -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 */