Author: sginsberg
Date: Fri Nov 14 09:24:08 2008
New Revision: 37359
URL:
http://svn.reactos.org/svn/reactos?rev=37359&view=rev
Log:
- PAGE_SIZE fix 2.0
Modified:
trunk/reactos/lib/cmlib/cmlib.h
Modified: trunk/reactos/lib/cmlib/cmlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/cmlib.h?rev=3735…
==============================================================================
--- trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] Fri Nov 14 09:24:08 2008
@@ -107,14 +107,10 @@
// PAGE_SIZE definition
//
#ifndef PAGE_SIZE
-#if defined(_M_IX86)
-#define PAGE_SIZE 0x1000
-#elif defined(_M_AMD64)
-#define PAGE_SIZE 0x1000
-#elif defined(_M_ARM)
+#if defined(TARGET_i386) || defined(TARGET_amd64) || defined(TARGET_arm)
#define PAGE_SIZE 0x1000
#else
-#error Local PAGE_SIZE definition required
+#error Local PAGE_SIZE definition required when built as host
#endif
#endif