chiark / gitweb /
regress: Allow harness code to wrap main if it wants to
[adns.git] / regress / hredirect.h.m4
index 8241e03897318b07abd846c7e65edeb2c7177d21..a40783c9562ff589aece94d8ddf23b835f50c677 100644 (file)
@@ -36,4 +36,7 @@ m4_define(`hm_specsyscall',`#undef $2
 #define $2 H$2')
 m4_include(`hsyscalls.i4')
 
+m4_dnl only usage site is definition of main
+#define main(C, V) Hmain(C, V); int Hmain(C, V)
+
 #endif