SDL_SetTimer problem


I have got some error reports about that SDL_SetTimer didn’t work with SDL

Here the code:
if( SDL_SetTimer(
VideoSyncHandler) ) {
fprintf(stderr,“Can’t set timer\n”);

The error message is shown.

This works fine for me with SDL 1.0.8. The user uses Kernel 2.4.0test…,
XFree 4.0 and glibc 2.1.2 and SDL 1.1.3. Perhaps this an already known problem.

Become famous, earn no money, create graphics for FreeCraft.

http://FreeCraft.Org - A free fantasy real-time strategy game engine - The FreeCraft Graphics Project