svn commit: r215566 - stable/7/sys/net80211

Bernhard Schmidt bschmidt at
Sat Nov 20 13:30:48 UTC 2010

Author: bschmidt
Date: Sat Nov 20 13:30:48 2010
New Revision: 215566

  MFC r201793:
  Fix #ifdefs so that GCC 4.4 doesn't complain about it.
  Committed by:	trasz

Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/net80211/ieee80211_var.h
--- stable/7/sys/net80211/ieee80211_var.h	Sat Nov 20 13:28:32 2010	(r215565)
+++ stable/7/sys/net80211/ieee80211_var.h	Sat Nov 20 13:30:48 2010	(r215566)
@@ -35,11 +35,11 @@
 #undef	IEEE80211_DEBUG_REFCNT			/* node refcnt stuff */
 /* NB: portability glue must go first */
-#ifdef __NetBSD__
+#if defined(__NetBSD__)
 #include <net80211/ieee80211_netbsd.h>
-#elif __FreeBSD__
+#elif defined(__FreeBSD__)
 #include <net80211/ieee80211_freebsd.h>
-#elif __linux__
+#elif defined(__linux__)
 #include <net80211/ieee80211_linux.h>
 #error	"No support for your operating system!"

More information about the svn-src-stable-7 mailing list