Mercurial > sdl-ios-xcode
comparison src/video/riscos/SDL_wimppoll.c @ 1336:3692456e7b0f
Use SDL_ prefixed versions of C library functions.
FIXME:
Change #include <stdlib.h> to #include "SDL_stdlib.h"
Change #include <string.h> to #include "SDL_string.h"
Make sure nothing else broke because of this...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Feb 2006 06:59:48 +0000 |
parents | c9b51268668f |
children | 19418e4422cb |
comparison
equal
deleted
inserted
replaced
1335:c39265384763 | 1336:3692456e7b0f |
---|---|
282 { | 282 { |
283 SDL_SysWMmsg wmmsg; | 283 SDL_SysWMmsg wmmsg; |
284 | 284 |
285 SDL_VERSION(&wmmsg.version); | 285 SDL_VERSION(&wmmsg.version); |
286 wmmsg.eventCode = code; | 286 wmmsg.eventCode = code; |
287 memcpy(wmmsg.pollBlock, message, 64 * sizeof(int)); | 287 SDL_memcpy(wmmsg.pollBlock, message, 64 * sizeof(int)); |
288 | 288 |
289 /* Fall out of polling loop if message is successfully posted */ | 289 /* Fall out of polling loop if message is successfully posted */ |
290 if (SDL_PrivateSysWMEvent(&wmmsg)) doPoll = 0; | 290 if (SDL_PrivateSysWMEvent(&wmmsg)) doPoll = 0; |
291 } | 291 } |
292 #ifndef DISABLE_THREADS | 292 #ifndef DISABLE_THREADS |