Only include image writing headers on Windows. Since only it does screenshots right now.

This commit is contained in:
Sacha 2013-12-08 03:06:15 +10:00
parent dde88b6ebd
commit f8da6550f7
2 changed files with 4 additions and 2 deletions

View File

@ -28,14 +28,16 @@
// in NativeShutdown. // in NativeShutdown.
#include <locale.h> #include <locale.h>
#ifdef _WIN32
#include <png.h> #include <png.h>
#include "ext/jpge/jpge.h"
#endif
#include "base/logging.h" #include "base/logging.h"
#include "base/mutex.h" #include "base/mutex.h"
#include "base/NativeApp.h" #include "base/NativeApp.h"
#include "file/vfs.h" #include "file/vfs.h"
#include "file/zip_read.h" #include "file/zip_read.h"
#include "ext/jpge/jpge.h"
#include "thread/thread.h" #include "thread/thread.h"
#include "net/http_client.h" #include "net/http_client.h"
#include "gfx_es2/gl_state.h" #include "gfx_es2/gl_state.h"

2
native

@ -1 +1 @@
Subproject commit 8aa73bfc8da1016d20316b5da7dc522a937161a0 Subproject commit e6b4348bf60051f103337dea42af71e99c6c60b8