Merge pull request #286 from retro-wertz/patch-2
authorhizzlekizzle <hizzlekizzle@users.noreply.github.com>
Sun, 19 May 2019 12:59:36 +0000 (07:59 -0500)
committerGitHub <noreply@github.com>
Sun, 19 May 2019 12:59:36 +0000 (07:59 -0500)
Fix CHD build for windows

Makefile

index 5732c14..1f491f3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -203,6 +203,7 @@ OBJS += deps/libchdr/flac.o
 OBJS += deps/libchdr/huffman.o
 
 ifneq (,$(findstring win,$(platform)))
+  CFLAGS += -DHAVE_FSEEKO
   OBJS += deps/flac-1.3.2/src/libFLAC/windows_unicode_filenames.o
 else
   CFLAGS += -DHAVE_SYS_PARAM_H