From f1eaf787ec1cf8ab7b88dbbf95091fa62479e32d Mon Sep 17 00:00:00 2001 From: Brian Koropoff Date: Sun, 17 Sep 2017 22:03:38 -0700 Subject: [PATCH] Fix libFLAC build in Windows --- Makefile.common | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.common b/Makefile.common index c25fce09f2..5be261392a 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1312,6 +1312,9 @@ ifeq ($(HAVE_FLAC),1) CFLAGS += -I$(DEPS_DIR)/libFLAC/include DEFINES += -DHAVE_FLAC -DHAVE_STDINT_H -DHAVE_LROUND -DFLAC__HAS_OGG=0 \ -DPACKAGE_VERSION="\"retroarch\"" + ifneq ($(findstring Win32,$(OS)),) + DEFINES += -DHAVE_FSEEKO + endif FLACOBJ = $(DEPS_DIR)/libFLAC/bitmath.o \ $(DEPS_DIR)/libFLAC/bitreader.o \ $(DEPS_DIR)/libFLAC/cpu.o \