SDL_evdev.c: undefine _THIS before redefining it.
authorOzkan Sezer <sezeroz@gmail.com>
Wed, 29 Aug 2018 11:04:02 +0300
changeset 12160c63903ab7150
parent 12159 f7398cb0e3bf
child 12161 12a877a0ccb5
SDL_evdev.c: undefine _THIS before redefining it.

src/core/linux/SDL_evdev.c:104:1: warning: "_THIS" redefined
In file included from src/core/linux/../../events/SDL_events_c.h:26,
from src/core/linux/SDL_evdev.c:45:
src/core/linux/../../events/../video/SDL_sysvideo.h:146:1: warning: this is the location of the previous definition
src/core/linux/SDL_evdev.c
     1.1 --- a/src/core/linux/SDL_evdev.c	Tue Aug 28 16:19:31 2018 -0700
     1.2 +++ b/src/core/linux/SDL_evdev.c	Wed Aug 29 11:04:02 2018 +0300
     1.3 @@ -101,6 +101,7 @@
     1.4      SDL_EVDEV_keyboard_state *kbd;
     1.5  } SDL_EVDEV_PrivateData;
     1.6  
     1.7 +#undef _THIS
     1.8  #define _THIS SDL_EVDEV_PrivateData *_this
     1.9  static _THIS = NULL;
    1.10