diff test/testerror.c @ 1769:290b5baf2fca

Fixed bug #215 The current SVN trunk is missing the SDLCALL specifier at numerous locations. It has to be added for all (possibly user provided) callbacks. I stumbled over this while creating a makefile for the OpenWatcom compiler for Win32.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 07 May 2006 03:40:06 +0000
parents be9c9c8f6d53
children 782fd950bd46 c121d94672cb
line wrap: on
line diff
--- a/test/testerror.c	Fri May 05 05:50:26 2006 +0000
+++ b/test/testerror.c	Sun May 07 03:40:06 2006 +0000
@@ -17,7 +17,7 @@
 	exit(rc);
 }
 
-int ThreadFunc(void *data)
+int SDLCALL ThreadFunc(void *data)
 {
 	/* Set the child thread error string */
 	SDL_SetError("Thread %s (%d) had a problem: %s",