diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-04-16 03:38:23 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-04-16 03:38:23 +0000 |
commit | 17f0d877faff64832b2a93f24d21b873fe59919e (patch) | |
tree | 253e33214029012feff56f1b85d83121fef627cf /plugins/wimaxasncp/Makefile.nmake | |
parent | 605ef095f929bf68880009342d530112bde91cc6 (diff) |
Fix Win64 compilation problems in the plugins directory.
svn path=/trunk/; revision=28064
Diffstat (limited to 'plugins/wimaxasncp/Makefile.nmake')
-rw-r--r-- | plugins/wimaxasncp/Makefile.nmake | 8 |
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 \ |