Changed MinGW to use own winidn prototypes.
authorGuenter Knauf <lists@gknw.net>
Sat, 3 Sep 2011 11:37:29 +0000 (13:37 +0200)
committerGuenter Knauf <lists@gknw.net>
Sat, 3 Sep 2011 11:39:22 +0000 (13:39 +0200)
lib/Makefile.m32

index 76171cb..8c0e5a4 100644 (file)
@@ -138,9 +138,8 @@ ifdef IDN
   DLL_LIBS += -L$(LIBIDN_PATH)/lib -lidn
 else
 ifdef WINIDN
-  INCLUDES += -I"$(WINIDN_PATH)/include"
-  CFLAGS += -DHAVE_NORMALIZATION_H
   CFLAGS += -DUSE_WIN32_IDN
+  CFLAGS += -DWANT_IDN_PROTOTYPES
   DLL_LIBS += -L"$(WINIDN_PATH)" -lnormaliz
 endif
 endif