future-proofing for Microsoft's C++/CX extensions, whereby "generic" is a reserved keyword

This commit is contained in:
David Ludwig 2013-04-20 23:05:08 -04:00
parent e4b6ac8025
commit cf8a84626b
2 changed files with 4 additions and 4 deletions

View file

@ -365,7 +365,7 @@ int
SDL_PushEvent(SDL_Event * event)
{
SDL_EventWatcher *curr;
event->generic.timestamp = SDL_GetTicks();
event->common.timestamp = SDL_GetTicks();
if (SDL_EventOK && !SDL_EventOK(SDL_EventOKParam, event)) {
return 0;
}