aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimaxasncp
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-16 03:38:23 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-16 03:38:23 +0000
commit21315531bcf393adebaf5a9316523c8d644a70e1 (patch)
tree253e33214029012feff56f1b85d83121fef627cf /plugins/wimaxasncp
parent79e8a0f314133d0202ffdf02fb853f25b583b33e (diff)
Fix Win64 compilation problems in the plugins directory.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28064 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins/wimaxasncp')
-rw-r--r--plugins/wimaxasncp/Makefile.nmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/wimaxasncp/Makefile.nmake b/plugins/wimaxasncp/Makefile.nmake
index dc3f07e5f6..4d3fcf97b9 100644
--- a/plugins/wimaxasncp/Makefile.nmake
+++ b/plugins/wimaxasncp/Makefile.nmake
@@ -10,8 +10,13 @@ include ..\..\Makefile.nmake.inc
include Makefile.common
-CFLAGS=/WX /DHAVE_CONFIG_H /I../.. $(GLIB_CFLAGS) \
+# We use GENERATED_CFLAGS to get around flex's non-LLP64-compliant output
+GENERATED_CFLAGS=/DHAVE_CONFIG_H /I../.. $(GLIB_CFLAGS) \
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
+CFLAGS=/WX $(GENERATED_CFLAGS)
+
+
+
.c.obj::
$(CC) $(CFLAGS) -Fd.\ -c $<
@@ -96,6 +101,7 @@ RUNLEX = ..\..\tools\runlex.sh
wimaxasncp_dict_lex.h : wimaxasncp_dict.c
wimaxasncp_dict.obj : wimaxasncp_dict.c
+ $(CC) $(CVARSDLL) $(GENERATED_CFLAGS) -Fd.\ -c $?
clean:
rm -f $(OBJECTS) $(RESOURCE) plugin.c *.pdb \