Commit in reactos on MAIN
include/pseh/framebased.h+3-31.2 -> 1.3
tools/helper.mk+3-11.65 -> 1.66
+6-4
2 modified files
Corrected a stupid mistake
Modified the build system to make kernel-mode components use the SEH library's built-in setjmp/longjmp

reactos/include/pseh
framebased.h 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- framebased.h	3 Jun 2004 02:23:33 -0000	1.2
+++ framebased.h	3 Jun 2004 03:09:01 -0000	1.3
@@ -27,13 +27,13 @@
 #include <excpt.h>
 
 #ifdef _SEH_NO_NATIVE_NLG
-#include <setjmp.h>
-#include <stddef.h>
-#else
 #include <pseh/setjmp.h>
 #define longjmp _SEHLongJmp
 #define setjmp _SEHSetJmp
 #define jmp_buf _SEHJmpBuf_t
+#else
+#include <setjmp.h>
+#include <stddef.h>
 #endif
 
 typedef struct __SEHFrame

reactos/tools
helper.mk 1.65 -> 1.66
diff -u -r1.65 -r1.66
--- helper.mk	2 Jun 2004 18:24:09 -0000	1.65
+++ helper.mk	3 Jun 2004 03:09:01 -0000	1.66
@@ -1,4 +1,4 @@
-# $Id: helper.mk,v 1.65 2004/06/02 18:24:09 hyperion Exp $
+# $Id: helper.mk,v 1.66 2004/06/03 03:09:01 hyperion Exp $
 #
 # Helper makefile for ReactOS modules
 # Variables this makefile accepts:
@@ -583,6 +583,8 @@
 ifeq ($(MK_MODE),kernel)
   MK_DEFBASE := 0x10000
   MK_LIBS := $(addprefix $(DDK_PATH_LIB)/, $(TARGET_DDKLIBS) $(MK_DDKLIBS))
+  MK_CFLAGS += -D_SEH_NO_NATIVE_NLG
+  MK_CPPFLAGS += -D_SEH_NO_NATIVE_NLG
 endif
 
 
CVSspam 0.2.8