mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-22 22:58:12 +03:00
Do not include SDL.h from common.h
This commit is contained in:
+2
-1
@@ -9,8 +9,8 @@
|
||||
|
||||
#define SYSTEM3_VERSION "1.6.1"
|
||||
|
||||
#include <SDL.h>
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
@@ -50,6 +50,7 @@ enum CustomEvent {
|
||||
};
|
||||
|
||||
// resource.cpp
|
||||
struct SDL_RWops;
|
||||
SDL_RWops* open_resource(const char* name, const char* type);
|
||||
SDL_RWops* open_file(const char* name);
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <memory>
|
||||
#include <SDL.h>
|
||||
#include <emscripten.h>
|
||||
#include "mako.h"
|
||||
#include "fm/mako_ymfm.h"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#undef min
|
||||
#undef max
|
||||
#endif
|
||||
#include <SDL.h>
|
||||
#include "common.h"
|
||||
|
||||
SDL_RWops* open_resource(const char* name, const char* type) {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "dri.h"
|
||||
#include <memory>
|
||||
#include <string.h>
|
||||
#include <SDL.h>
|
||||
#include "game_id.h"
|
||||
#include "fileio.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <string.h>
|
||||
#include <SDL.h>
|
||||
#include "game_id.h"
|
||||
#include "fileio.h"
|
||||
#include "config.h"
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <stdio.h>
|
||||
#include <SDL.h>
|
||||
#include "common.h"
|
||||
#include "config.h"
|
||||
#include "dri.h"
|
||||
|
||||
Reference in New Issue
Block a user