Sync with hpcsh/conf/ioconf.incl.hpcsh rev 1.2:

> 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:
tsutsui 2006-03-23 15:56:02 +00:00
parent 028f696b68
commit 2f0e3614ae
1 changed files with 1 additions and 0 deletions

View File

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