[ros-diffs] [hpoussin] 28808: Fix build

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Mon Sep 3 10:57:19 CEST 2007


Author: hpoussin
Date: Mon Sep  3 12:57:19 2007
New Revision: 28808

URL: http://svn.reactos.org/svn/reactos?rev=28808&view=rev
Log:
Fix build 

Modified:
    trunk/reactos/boot/freeldr/freeldr/fs/fat.c
    trunk/reactos/include/psdk/winnt.h

Modified: trunk/reactos/boot/freeldr/freeldr/fs/fat.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/fat.c?rev=28808&r1=28807&r2=28808&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/fs/fat.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/fs/fat.c Mon Sep  3 12:57:19 2007
@@ -234,8 +234,6 @@
 		DbgPrint((DPRINT_FILESYSTEM, "BootSectorMagic: 0x%x\n", FatVolumeBootSector->BootSectorMagic));
 	}
 
-#endif // !defined NDEBUG
-
 	//
 	// Set the correct partition offset
 	//

Modified: trunk/reactos/include/psdk/winnt.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=28808&r1=28807&r2=28808&view=diff
==============================================================================
--- trunk/reactos/include/psdk/winnt.h (original)
+++ trunk/reactos/include/psdk/winnt.h Mon Sep  3 12:57:19 2007
@@ -2,10 +2,6 @@
 #define _WINNT_H
 #if __GNUC__ >= 3
 #pragma GCC system_header
-#endif
-
-#ifdef __GNUC__
-#include "intrin.h"
 #endif
 
 /* translate GCC target defines to MS equivalents. Keep this synchronized
@@ -250,6 +246,10 @@
 typedef BYTE FCHAR;
 typedef WORD FSHORT;
 typedef DWORD FLONG;
+
+#ifdef __GNUC__
+#include "intrin.h"
+#endif
 
 #define NTAPI __stdcall
 #include <basetsd.h>




More information about the Ros-diffs mailing list