include/SDL_syswm.h
changeset 8463 98dbf81ed5e9
parent 8439 14d94a8a9fb6
child 8477 ad08f0d710f3
     1.1 --- a/include/SDL_syswm.h	Sun Apr 14 12:06:58 2013 -0400
     1.2 +++ b/include/SDL_syswm.h	Tue Apr 16 23:40:03 2013 -0400
     1.3 @@ -58,6 +58,10 @@
     1.4  #include <windows.h>
     1.5  #endif
     1.6  
     1.7 +#if defined(SDL_VIDEO_DRIVER_WINRT)
     1.8 +#include <Unknwn.h>
     1.9 +#endif
    1.10 +
    1.11  /* This is the structure for custom window manager events */
    1.12  #if defined(SDL_VIDEO_DRIVER_X11)
    1.13  #if defined(__APPLE__) && defined(__MACH__)
    1.14 @@ -175,7 +179,7 @@
    1.15  #if defined(SDL_VIDEO_DRIVER_WINRT)
    1.16          struct
    1.17          {
    1.18 -            void * window;          /**< The Windows RT CoreWindow, casted from 'CoreWindow ^*' to 'void *' */
    1.19 +            IUnknown * window;          /**< The Windows RT CoreWindow */
    1.20          } winrt;
    1.21  #endif
    1.22  #if defined(SDL_VIDEO_DRIVER_X11)