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:
parent
17acd2c1c5
commit
042caffba8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue