1 #ifndef _RENDER_API_PLATFORM_TYPES_H 2 #define _RENDER_API_PLATFORM_TYPES_H 3 4 #if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ 5 #include <windows.h> 6 7 typedef HDC FBNativeDisplayType; 8 typedef HWND FBNativeWindowType; 9 10 #elif defined(__linux__) 11 12 #include <X11/Xlib.h> 13 #include <X11/Xutil.h> 14 15 typedef Window FBNativeWindowType; 16 17 #elif defined(__APPLE__) 18 19 typedef void* FBNativeWindowType; 20 21 #else 22 #warning "Unsupported platform" 23 #endif 24 25 #endif // of _RENDER_API_PLATFORM_TYPES_H 26