Don't try to build CD-ROM support on Emscripten.
This commit is contained in:
parent
ffdc55f1e5
commit
083940aef1
|
@ -50,7 +50,6 @@ echo "Setting up Emscripten SDK environment..."
|
|||
source "$ENVSCRIPT"
|
||||
|
||||
echo "Setting up..."
|
||||
set -x
|
||||
cd "$PHYSFSBASE"
|
||||
rm -rf buildbot
|
||||
mkdir buildbot
|
||||
|
|
|
@ -61,6 +61,10 @@
|
|||
# define PHYSFS_PLATFORM_BSD 1
|
||||
# define PHYSFS_PLATFORM_UNIX 1
|
||||
# define PHYSFS_PLATFORM_POSIX 1
|
||||
#elif defined(__EMSCRIPTEN__)
|
||||
# define PHYSFS_NO_CDROM_SUPPORT 1
|
||||
# define PHYSFS_PLATFORM_UNIX 1
|
||||
# define PHYSFS_PLATFORM_POSIX 1
|
||||
#elif defined(unix) || defined(__unix__)
|
||||
# define PHYSFS_PLATFORM_UNIX 1
|
||||
# define PHYSFS_PLATFORM_POSIX 1
|
||||
|
|
Loading…
Reference in New Issue