aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-27 09:42:52 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-27 09:42:52 +0000
commitb4971b39bf3df9edcdd6778c37cf667bd437cf92 (patch)
tree7d61dda2c3a822cfc6971bd47bf643aaf6b79427 /plugins/Makefile.nmake
parentcbf5c537c4e0ad18f3363815c89e71511a3d3fd7 (diff)
From Joerg Mayer:
In the "configure.in" files, add -D_U_="__attribute__((unused))" to CFLAGS if we're using GCC, and add -D_U_="" otherwise, so _U_ can be used to mark arguments as unused. Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works with Microsoft Visual C++ as well. Add comments and RCS IDs to the Makefile.nmake files that don't already have them. svn path=/trunk/; revision=4824
Diffstat (limited to 'plugins/Makefile.nmake')
-rw-r--r--plugins/Makefile.nmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Makefile.nmake b/plugins/Makefile.nmake
index ee5ea02043..cc6042b7fe 100644
--- a/plugins/Makefile.nmake
+++ b/plugins/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $Id: Makefile.nmake,v 1.12 2002/01/21 07:37:45 guy Exp $
+# $Id: Makefile.nmake,v 1.13 2002/02/27 09:42:44 guy Exp $
#
include ..\config.nmake
@@ -9,7 +9,7 @@ include ..\config.nmake
CFLAGS=/DHAVE_CONFIG_H /I.. /I../wiretap /I. \
/I$(GLIB_DIR) /I$(GTK_DIR) /I$(GLIB_DIR)/gmodule \
/I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
- /I$(PCAP_DIR)\include $(LOCAL_CFLAGS)
+ /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
OBJECTS=plugin_api.obj