adjust newlines around rsym command
[reactos.git] / reactos / tools / rbuild / backend / mingw / mingw.cpp
index 0773f0e..27d0245 100644 (file)
@@ -332,17 +332,17 @@ MingwBackend::DetectPCHSupport()
        string path = "tools" SSEP "rbuild" SSEP "backend" SSEP "mingw" SSEP "pch_detection.h";\r
        system ( ssprintf("gcc -c %s", path.c_str()).c_str() );\r
        path += ".gch";\r
+\r
+       FILE* f = fopen ( path.c_str(), "rb" );\r
+       if ( f )\r
        {\r
-               FILE* f = fopen ( path.c_str(), "rb" );\r
-               if ( f )\r
-               {\r
-                       use_pch = true;\r
-                       fclose(f);\r
-                       unlink ( path.c_str() );\r
-               }\r
-               else\r
-                       use_pch = false;\r
+               use_pch = true;\r
+               fclose(f);\r
+               unlink ( path.c_str() );\r
        }\r
+       else\r
+               use_pch = false;\r
+\r
        // TODO FIXME - eventually check for ROS_USE_PCH env var and\r
        // allow that to override use_pch if true\r
 }\r