From 297abae6233f362d144b99b4473384958cd19c54 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 4 Mar 2016 04:06:09 +0100 Subject: [PATCH] (Mingw) Add program files include dir check --- Makefile.common | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.common b/Makefile.common index 6c73e332fc..d40828edcc 100644 --- a/Makefile.common +++ b/Makefile.common @@ -611,6 +611,10 @@ endif ifneq ($(findstring Win32,$(OS)),) OBJ += ui/drivers/ui_win32.o + +if [ -d "$(ProgramFiles)/Microsoft SDKs/Windows/v7.0A/Include" ]; then +DEFINES += -I"$(ProgramFiles)/Microsoft SDKs/Windows/v7.0A/Include" +fi endif # Video