XXX: #undef SET before including <machine/config_hook.h>, which defines

SET as a nickname for CONFIG_HOOK_SET to be used in kernel config files.
Makes ioconf.c compile again.
This commit is contained in:
uwe 2006-03-09 23:41:13 +00:00
parent 17acd2c1c5
commit 042caffba8
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#define PLATID_DEFINE_MASK_NICKNAME
#include <machine/platid_mask.h>
#undef PLATID_DEFINE_MASK_NICKNAME
#undef SET /* XXX: nuke stupid SET macro defined in <sys/types.h> */
#define CONFIG_HOOK_DEFINE_NICKNAME
#include <machine/config_hook.h>
#undef CONFIG_HOOK_DEFINE_NICKNAME