Skip to content
Permalink
Browse files
Don't try to build CD-ROM support on Emscripten.
  • Loading branch information
icculus committed Jul 9, 2017
1 parent ffdc55f commit 083940aef1e2bda96040915eb1559539b9243eea
Showing with 4 additions and 1 deletion.
  1. +0 −1 extras/buildbot-emscripten.sh
  2. +4 −0 src/physfs_platforms.h
@@ -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

0 comments on commit 083940a

Please sign in to comment.