diff --git a/src/makefiles/Makefile.cygwin b/src/makefiles/Makefile.cygwin index bd83e5f..bb2efed 100644 --- a/src/makefiles/Makefile.cygwin +++ b/src/makefiles/Makefile.cygwin @@ -28,6 +28,10 @@ ifneq (,$(findstring src/common,$(subdir))) override CPPFLAGS+= -DBUILDING_DLL endif +ifneq (,$(findstring src/port,$(subdir))) +override CPPFLAGS+= -DBUILDING_DLL +endif + ifneq (,$(findstring timezone,$(subdir))) override CPPFLAGS+= -DBUILDING_DLL endif diff --git a/src/makefiles/Makefile.win32 b/src/makefiles/Makefile.win32 index b18621b..9cb84f2 100644 --- a/src/makefiles/Makefile.win32 +++ b/src/makefiles/Makefile.win32 @@ -27,6 +27,10 @@ ifneq (,$(findstring src/common,$(subdir))) override CPPFLAGS+= -DBUILDING_DLL endif +ifneq (,$(findstring src/port,$(subdir))) +override CPPFLAGS+= -DBUILDING_DLL +endif + ifneq (,$(findstring timezone,$(subdir))) override CPPFLAGS+= -DBUILDING_DLL endif