From 1d4dc8aeace3ac8117313f99070516548202dc3b Mon Sep 17 00:00:00 2001 From: erg Date: Wed, 25 Jul 2007 19:27:13 +0000 Subject: [PATCH] Add flag for building lib/common on Windows to allow necessary declarations for dlls. --- lib/common/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/common/Makefile.am b/lib/common/Makefile.am index 5c26e4f1c..552ac96ce 100644 --- a/lib/common/Makefile.am +++ b/lib/common/Makefile.am @@ -10,6 +10,10 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/lib/graph \ -I$(top_srcdir)/lib/cdt @GD_INCLUDES@ @EXPAT_INCLUDES@ @Z_INCLUDES@ +if HAVE_WIN32 +AM_CFLAGS = -D_BLD_common=1 +endif + pkginclude_HEADERS = geom.h color.h types.h textpara.h usershape.h noinst_HEADERS = render.h utils.h memory.h \ geomprocs.h colorprocs.h colortbl.h entities.h \ -- 2.40.0