Merge pull request #1 from pitulloz/master

fix build on mingw, but not test on linux again.
This commit is contained in:
Michael[tm] Smith 2011-11-16 23:09:34 -08:00
commit 7ea0d7cec2

View file

@ -96,7 +96,7 @@ CFLAGS= -g -pedantic -Wall -I $(INCDIR)
CFLAGS += -Wunused-parameter CFLAGS += -Wunused-parameter
OTHERCFLAGS= OTHERCFLAGS=
OTHERCFLAGS+= -D_DEBUG=1 OTHERCFLAGS+= -D_DEBUG=1 -D_MSC_VER=1400
# OTHERCFLAGS+= -fvisibility=hidden -DTIDY_EXPORT='__attribute__((visibility("default")))' # OTHERCFLAGS+= -fvisibility=hidden -DTIDY_EXPORT='__attribute__((visibility("default")))'
ifdef SUPPORT_UTF16_ENCODINGS ifdef SUPPORT_UTF16_ENCODINGS
CFLAGS += -DSUPPORT_UTF16_ENCODINGS=$(SUPPORT_UTF16_ENCODINGS) CFLAGS += -DSUPPORT_UTF16_ENCODINGS=$(SUPPORT_UTF16_ENCODINGS)