diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-01-22 18:52:42 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-01-22 18:52:42 +0100 |
| commit | ec98fefcafdc850f6b7e2b2c8ba453470e370830 (patch) | |
| tree | f4410ceb7d372a6d804f4392db433310d8adec2a /sokol_app.h | |
| parent | cd8f5c3763c7e3ef2418e7d30a8d3be1aaadbcae (diff) | |
sokol_app.h, sokol_audio.h: exclude emscripten when detecting __unix__
Diffstat (limited to 'sokol_app.h')
| -rw-r--r-- | sokol_app.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h index 9e88fa40..458c1bac 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -3875,7 +3875,7 @@ int WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _ #endif /* WINDOWS */ /*== LINUX ==================================================================*/ -#if defined(__linux__) || defined(__unix__) +#if (defined(__linux__) || defined(__unix__)) && !defined(__EMSCRIPTEN__) #define GL_GLEXT_PROTOTYPES #include <X11/X.h> #include <X11/Xlib.h> |