Author: tkreuzer
Date: Fri Jul 16 15:11:44 2010
New Revision: 48083
URL: http://svn.reactos.org/svn/reactos?rev=48083&view=rev
Log:
[NTOSKRNL]
Comment out a broken C_ASSERT on amd64 to make it compile.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pagfault.…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c [iso-8859-1] Fri Jul 16 15:11:44 2010
@@ -64,8 +64,10 @@
//
if (PointerPde->u.Hard.Valid == 0)
{
+#ifndef _M_AMD64
/* This seems to be making the assumption that one PDE is one page long */
C_ASSERT(PAGE_SIZE == (PD_COUNT * (sizeof(MMPTE) * PDE_COUNT)));
+#endif
//
// Copy it from our double-mapped system page directory
Author: tkreuzer
Date: Fri Jul 16 15:08:03 2010
New Revision: 48082
URL: http://svn.reactos.org/svn/reactos?rev=48082&view=rev
Log:
[CRT]
Move #include <precomp.h> to the top, as precompiled headers must be the first thing that is included or it won't take advantage of being precompiled
Modified:
trunk/reactos/lib/sdk/crt/misc/assert.c
Modified: trunk/reactos/lib/sdk/crt/misc/assert.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/misc/assert.c?…
==============================================================================
--- trunk/reactos/lib/sdk/crt/misc/assert.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/misc/assert.c [iso-8859-1] Fri Jul 16 15:08:03 2010
@@ -1,9 +1,9 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
+#include <precomp.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
-#include <precomp.h>
/*