mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +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.cpp
|
||||
)
|
||||
target_link_libraries(love_filesystem_physfs PUBLIC
|
||||
lovedep::SDL
|
||||
)
|
||||
if(ANDROID)
|
||||
target_link_libraries(love_filesystem_physfs PUBLIC
|
||||
lovedep::SDL
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(love_filesystem INTERFACE)
|
||||
target_link_libraries(love_filesystem INTERFACE
|
||||
|
||||
@@ -36,6 +36,9 @@
|
||||
#include <unistd.h> // POSIX.
|
||||
#endif
|
||||
|
||||
// SDL
|
||||
#include <SDL3/SDL_iostream.h>
|
||||
|
||||
namespace love
|
||||
{
|
||||
namespace filesystem
|
||||
|
||||
@@ -25,8 +25,7 @@
|
||||
// C
|
||||
#include <cstdio>
|
||||
|
||||
// SDL
|
||||
#include <SDL3/SDL_iostream.h>
|
||||
typedef struct SDL_IOStream SDL_IOStream;
|
||||
|
||||
namespace love
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user