From a0ec1ca11650ad7c16cf1c3261ec1b8665d46ac8 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 17 May 2012 18:35:05 +0200 Subject: cpp hygiene in the vm * libguile/vm-engine.c: * libguile/vm-i-scheme.c: * libguile/vm-i-system.c: CPP hygiene: the code that #defines, #undefs. Makes things cleaner given the multiple inclusion dance we do. --- libguile/vm-engine.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'libguile/vm-engine.c') diff --git a/libguile/vm-engine.c b/libguile/vm-engine.c index 1cd623d95..44546323b 100644 --- a/libguile/vm-engine.c +++ b/libguile/vm-engine.c @@ -433,8 +433,34 @@ VM_NAME (SCM vm, SCM program, SCM *argv, int nargs) abort (); /* never reached */ } +#undef ALIGNED_P +#undef CACHE_REGISTER +#undef CHECK_OVERFLOW +#undef FREE_VARIABLE_REF +#undef FUNC2 +#undef INIT +#undef INUM_MAX +#undef INUM_MIN +#undef jump_table +#undef LOCAL_REF +#undef LOCAL_SET +#undef NEXT +#undef NEXT_JUMP +#undef REL +#undef RETURN +#undef RETURN_ONE_VALUE +#undef RETURN_VALUE_LIST #undef RUN_HOOK #undef RUN_HOOK1 +#undef SYNC_ALL +#undef SYNC_BEFORE_GC +#undef SYNC_IP +#undef SYNC_REGISTER +#undef VARIABLE_BOUNDP +#undef VARIABLE_REF +#undef VARIABLE_SET +#undef VM_DEFINE_OP +#undef VM_INSTRUCTION_TO_LABEL #undef VM_USE_HOOKS /* -- cgit v1.2.3