From 02ab41ff4d75d8f2a33f8049f8d0bc6ad046a75a Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 3 Apr 2011 20:21:04 +0000 Subject: [PATCH] [CMAKE] - Add HAVE_GETPAGESIZE to host config.h. should fix linux build (fix by Sylvain) - uncomment @echo off in configure script - Move a DECLSPEC_NORETURN svn path=/branches/cmake-bringup/; revision=51242 --- configure.cmd | 2 +- include/host/config.h | 3 +++ include/xdk/kefuncs.h | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.cmd b/configure.cmd index 0ac142052bf..247c85eb1c6 100644 --- a/configure.cmd +++ b/configure.cmd @@ -1,4 +1,4 @@ -::@echo off +@echo off :: Get the source root directory set REACTOS_SOURCE_DIR=%~dp0 diff --git a/include/host/config.h b/include/host/config.h index 8cc8d10fddb..89e0eecdf82 100644 --- a/include/host/config.h +++ b/include/host/config.h @@ -8,6 +8,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_FLOAT_H 1 +/* Define to 1 if you have the `getpagesize' function. */ +#define HAVE_GETPAGESIZE 1 + /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 diff --git a/include/xdk/kefuncs.h b/include/xdk/kefuncs.h index eb5c7a25c5e..ae37e3a4409 100644 --- a/include/xdk/kefuncs.h +++ b/include/xdk/kefuncs.h @@ -207,8 +207,8 @@ KeInitializeSpinLock(IN PKSPIN_LOCK SpinLock) } #endif +DECLSPEC_NORETURN NTKERNELAPI -//DECLSPEC_NORETURN VOID NTAPI KeBugCheckEx(