Skip to content

Commit

Permalink
Fixed incorrect usage of __has_include
Browse files Browse the repository at this point in the history
  • Loading branch information
Madman10K committed Nov 1, 2024
1 parent 4fd21e4 commit 2410dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Framework/Renderer/Window/Platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#elif __APPLE__
#define GLFW_EXPOSE_NATIVE_COCOA
#elif !__EMSCRIPTEN__
#ifdef __has_include(<wayland-client.h>)
#if __has_include(<wayland-client.h>)
#define GLFW_EXPOSE_NATIVE_WAYLAND
#endif
#ifdef __has_include(<X11/Xatom.h>)
#if __has_include(<X11/Xatom.h>)
#define GLFW_EXPOSE_NATIVE_X11
#include <X11/Xatom.h>
#define _NET_WM_STATE_ADD 1
Expand Down

0 comments on commit 2410dce

Please sign in to comment.