Browse Source

Add NULL_TRAP as a config option

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
c10698b8b4
2 changed files with 9 additions and 0 deletions
  1. 1
    0
      src/config.h
  2. 8
    0
      src/core/config.c

+ 1
- 0
src/config.h View File

@@ -124,5 +124,6 @@
124 124
 				 * "make bin/rtl8139.dsk bs" */
125 125
 #undef	BUILD_ID		/* Include a custom build ID string,
126 126
 				 * e.g "test-foo" */
127
+#undef	NULL_TRAP		/* Attempt to catch NULL function calls */
127 128
 
128 129
 /* @END general.h */

+ 8
- 0
src/core/config.c View File

@@ -199,3 +199,11 @@ REQUIRE_OBJECT ( wince );
199 199
 #ifdef	PXE_IMAGE
200 200
 REQUIRE_OBJECT ( pxe );
201 201
 #endif
202
+
203
+/*
204
+ * Drag in miscellaneous objects
205
+ *
206
+ */
207
+#ifdef	NULL_TRAP
208
+REQUIRE_OBJECT ( nulltrap );
209
+#endif

Loading…
Cancel
Save