SDL_Delay prob on OSX?

hiya,

…I have a user who is experiencing a crash in SDL_Delay() on OSX
10.3.1 in a call to “select”:
Thread 0:
#0 0x9000b30c in select (select + 12)
#1 0x30007ed8 in SDL_Delay (SDL_Delay + 124)
#2 0x002035e8 in game_set_frametime(int) (game_set_frametime(int) +
296)

…has anyone had problems with select() on 10.3.0 or 10.3.1?

…also, I see that SDL_systimer.c has the following defines:

#if defined(linux)
/* Linux select() changes its timeout parameter upon return to contain
the remaining time. Most other unixen leave it unchanged or
undefined. */
#define SELECT_SETS_REMAINING
#elif defined(bsdi) || defined(FreeBSD) || defined(__sun)
#define USE_NANOSLEEP
#endif

…since osx is based on FreeBSD, should we add a defined(DARWIN)?

puzzled,
jamie
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: text/enriched
Size: 1155 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20031215/18fe979c/attachment.bin