sdl.m4
changeset 1 cf2af46e9e2a
parent 0 74212992fb08
child 168 e92aa316c517
--- a/sdl.m4	Thu Apr 26 16:45:43 2001 +0000
+++ b/sdl.m4	Thu Apr 26 16:50:19 2001 +0000
@@ -140,6 +140,11 @@
           AC_TRY_LINK([
 #include <stdio.h>
 #include "SDL.h"
+
+int main(int argc, char *argv[])
+{ return 0; }
+#undef  main
+#define main K_and_R_C_main
 ],      [ return 0; ],
         [ echo "*** The test program compiled, but did not run. This usually means"
           echo "*** that the run-time linker is not finding SDL or finding the wrong"