diff options
Diffstat (limited to 'src/lib/conf/conftesting.h')
-rw-r--r-- | src/lib/conf/conftesting.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/conf/conftesting.h b/src/lib/conf/conftesting.h index 8f82b5bf18..dbfd564079 100644 --- a/src/lib/conf/conftesting.h +++ b/src/lib/conf/conftesting.h @@ -72,8 +72,8 @@ typedef union { #define DUMMY_CONF_TEST_MEMBERS , .var_ptr_dummy={ .INT=NULL } #define DUMMY_TYPECHECK_INSTANCE(tp) \ static tp tp ## _dummy -#endif -#endif +#endif /* defined(TOR_UNIT_TESTS) */ +#endif /* !defined(COCCI) */ #ifndef USE_CONF_TESTING #define CONF_TEST_MEMBERS(tp, conftype, member) @@ -82,6 +82,6 @@ typedef union { struct tor_semicolon_eater #define DUMMY_CONF_TEST_MEMBERS -#endif /* defined(TOR_UNIT_TESTS) */ +#endif /* !defined(USE_CONF_TESTING) */ #endif /* !defined(TOR_LIB_CONF_CONFTESTING_H) */ |