diff --git a/src/rcore_desktop.c b/src/rcore_desktop.c index 163f02a9a..f8ccbe8cc 100644 --- a/src/rcore_desktop.c +++ b/src/rcore_desktop.c @@ -1149,11 +1149,11 @@ static void ErrorCallback(int error, const char *description) // Get native window handle void *GetWindowHandle(void) { -#if defined(PLATFORM_DESKTOP) && defined(_WIN32) +#if defined(_WIN32) // NOTE: Returned handle is: void *HWND (windows.h) return glfwGetWin32Window(CORE.Window.handle); #endif -#if defined(PLATFORM_DESKTOP) && defined(__linux__) +#if defined(__linux__) // NOTE: Returned handle is: unsigned long Window (X.h) // typedef unsigned long XID; // typedef XID Window;