mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Do not include SDL_iostream.h in NativeFile.h.
This commit is contained in:
+5
-3
@@ -482,9 +482,11 @@ add_library(love_filesystem_physfs STATIC
|
|||||||
src/modules/filesystem/physfs/PhysfsIo.h
|
src/modules/filesystem/physfs/PhysfsIo.h
|
||||||
src/modules/filesystem/physfs/PhysfsIo.cpp
|
src/modules/filesystem/physfs/PhysfsIo.cpp
|
||||||
)
|
)
|
||||||
target_link_libraries(love_filesystem_physfs PUBLIC
|
if(ANDROID)
|
||||||
lovedep::SDL
|
target_link_libraries(love_filesystem_physfs PUBLIC
|
||||||
)
|
lovedep::SDL
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_library(love_filesystem INTERFACE)
|
add_library(love_filesystem INTERFACE)
|
||||||
target_link_libraries(love_filesystem INTERFACE
|
target_link_libraries(love_filesystem INTERFACE
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
#include <unistd.h> // POSIX.
|
#include <unistd.h> // POSIX.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// SDL
|
||||||
|
#include <SDL3/SDL_iostream.h>
|
||||||
|
|
||||||
namespace love
|
namespace love
|
||||||
{
|
{
|
||||||
namespace filesystem
|
namespace filesystem
|
||||||
|
|||||||
@@ -25,8 +25,7 @@
|
|||||||
// C
|
// C
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
// SDL
|
typedef struct SDL_IOStream SDL_IOStream;
|
||||||
#include <SDL3/SDL_iostream.h>
|
|
||||||
|
|
||||||
namespace love
|
namespace love
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user