1/* Put together a macro we can use as part of function names. */ 2#undef MACSCP4_INCLUSION 3#ifdef IN_MACSCP2_H 4#define MACSCP4_INCLUSION from_macscp2 5#endif 6#ifdef IN_MACSCP3_H 7#define MACSCP4_INCLUSION from_macscp3 8#endif 9 10#undef WHERE 11#ifdef IN_MACSCP2_H 12#define WHERE before macscp4_1_..., from macscp2.h 13#define BEFORE_MACSCP4_1_FROM_MACSCP2 14#undef UNTIL_MACSCP4_1_FROM_MACSCP2 15#endif 16#ifdef IN_MACSCP3_H 17#define WHERE before macscp4_1_..., from macscp3.h 18#define BEFORE_MACSCP4_1_FROM_MACSCP3 19#undef UNTIL_MACSCP4_1_FROM_MACSCP3 20#endif 21void 22SPLICE (macscp4_1_, MACSCP4_INCLUSION) () 23{ 24 puts ("macscp4_1_" STRINGIFY(MACSCP4_INCLUSION)); 25} 26 27#undef WHERE 28#ifdef IN_MACSCP2_H 29#define WHERE before macscp4_2_..., from macscp2.h 30#define BEFORE_MACSCP4_2_FROM_MACSCP2 31#undef UNTIL_MACSCP4_2_FROM_MACSCP2 32#endif 33#ifdef IN_MACSCP3_H 34#define WHERE before macscp4_2_..., from macscp3.h 35#define BEFORE_MACSCP4_2_FROM_MACSCP3 36#undef UNTIL_MACSCP4_2_FROM_MACSCP3 37#endif 38void 39SPLICE (macscp4_2_, MACSCP4_INCLUSION) () 40{ 41 puts ("macscp4_2_" STRINGIFY(MACSCP4_INCLUSION)); 42} 43 44#define DEFINED_IN_MACSCP4 this was defined in macscp4.h. 45