mingw, Android fixes

This commit is contained in:
BADIM-PC\Vadim
2018-01-08 15:35:39 +03:00
parent 4915bc7b66
commit ab4d0cd9cb
23 changed files with 1060 additions and 546 deletions

View File

@@ -22,7 +22,7 @@
#include "file_dialog.h"
#include <SDL.h>
#include <SDL2/SDL.h>
#if defined(__WINDOWS__)

View File

@@ -22,7 +22,7 @@
#include "file_dialog.h"
#include <SDL.h>
#include <SDL2/SDL.h>
#if defined(__WINRT__)

View File

@@ -39,15 +39,15 @@ typedef struct SDLNet_version {
#else /* WITHOUT_SDL */
#include "SDL.h"
#include "SDL_endian.h"
#include "SDL_version.h"
#include <SDL2/SDL.h>
#include <SDL2/SDL_endian.h>
#include <SDL2/SDL_version.h>
typedef SDL_version SDLNet_version;
#endif /* WITHOUT_SDL */
#include "begin_code.h"
#include <SDL2/begin_code.h>
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
@@ -438,6 +438,6 @@ SDL_FORCE_INLINE Uint32 _SDLNet_Read32(const void *areap)
#ifdef __cplusplus
}
#endif
#include "close_code.h"
#include <SDL2/close_code.h>
#endif /* _SDL_NET_H */

View File

@@ -31,7 +31,7 @@
#include <errno.h>
#endif
#include <SDL.h>
#include <SDL2/SDL.h>
/* Include system network headers */
#if defined(__WIN32__) || defined(WIN32) || defined(__WINRT__)

View File

@@ -27,7 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <SDL.h>
#include <SDL2/SDL.h>
#if defined(__EMSCRIPTEN__)
#include <emscripten.h>