Pārlūkot izejas kodu

unix: Don't #error if no CD-ROM support, because we already give a #warning.

Ryan C. Gordon 8 gadi atpakaļ
vecāks
revīzija
4b2180dd17
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0 3
      src/platform_unix.c

+ 0 - 3
src/platform_unix.c

@@ -144,9 +144,6 @@ void __PHYSFS_platformDetectAvailableCDs(PHYSFS_StringCallback cb, void *data)
     } /* while */
     } /* while */
 
 
     fclose(mounts);
     fclose(mounts);
-
-#else
-#error Unknown platform. Should have defined PHYSFS_NO_CDROM_SUPPORT, perhaps.
 #endif
 #endif
 } /* __PHYSFS_platformDetectAvailableCDs */
 } /* __PHYSFS_platformDetectAvailableCDs */