Skip to content

Commit

Permalink
unix: Don't #error if no CD-ROM support, because we already give a #w…
Browse files Browse the repository at this point in the history
…arning.
  • Loading branch information
icculus committed Jul 12, 2017
1 parent 5f5eca8 commit 4b2180d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/platform_unix.c
Expand Up @@ -144,9 +144,6 @@ void __PHYSFS_platformDetectAvailableCDs(PHYSFS_StringCallback cb, void *data)
} /* while */

fclose(mounts);

#else
#error Unknown platform. Should have defined PHYSFS_NO_CDROM_SUPPORT, perhaps.
#endif
} /* __PHYSFS_platformDetectAvailableCDs */

Expand Down

0 comments on commit 4b2180d

Please sign in to comment.