From f8da6550f77011aec536b48969c44ea3d702666f Mon Sep 17 00:00:00 2001 From: Sacha Date: Sun, 8 Dec 2013 03:06:15 +1000 Subject: [PATCH] Only include image writing headers on Windows. Since only it does screenshots right now. --- UI/NativeApp.cpp | 4 +++- native | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 34e0c83e49..964b7f37e0 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -28,14 +28,16 @@ // in NativeShutdown. #include +#ifdef _WIN32 #include +#include "ext/jpge/jpge.h" +#endif #include "base/logging.h" #include "base/mutex.h" #include "base/NativeApp.h" #include "file/vfs.h" #include "file/zip_read.h" -#include "ext/jpge/jpge.h" #include "thread/thread.h" #include "net/http_client.h" #include "gfx_es2/gl_state.h" diff --git a/native b/native index 8aa73bfc8d..e6b4348bf6 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit 8aa73bfc8da1016d20316b5da7dc522a937161a0 +Subproject commit e6b4348bf60051f103337dea42af71e99c6c60b8