Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 2010 13:28:32 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r215565 - stable/8/sys/net80211
Message-ID:  <201011201328.oAKDSWf1013499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bschmidt
Date: Sat Nov 20 13:28:32 2010
New Revision: 215565
URL: http://svn.freebsd.org/changeset/base/215565

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

Modified:
  stable/8/sys/net80211/ieee80211_var.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/net80211/ieee80211_var.h
==============================================================================
--- stable/8/sys/net80211/ieee80211_var.h	Sat Nov 20 13:26:09 2010	(r215564)
+++ stable/8/sys/net80211/ieee80211_var.h	Sat Nov 20 13:28:32 2010	(r215565)
@@ -32,11 +32,11 @@
  * Definitions for IEEE 802.11 drivers.
  */
 /* 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>
 #else
 #error	"No support for your operating system!"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011201328.oAKDSWf1013499>