Skip to content

Commit

Permalink
Don't try to build CD-ROM support on Emscripten.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 9, 2017
1 parent ffdc55f commit 083940a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion extras/buildbot-emscripten.sh
Expand Up @@ -50,7 +50,6 @@ echo "Setting up Emscripten SDK environment..."
source "$ENVSCRIPT"

echo "Setting up..."
set -x
cd "$PHYSFSBASE"
rm -rf buildbot
mkdir buildbot
Expand Down
4 changes: 4 additions & 0 deletions src/physfs_platforms.h
Expand Up @@ -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
Expand Down

0 comments on commit 083940a

Please sign in to comment.