summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getw.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-04-10 06:25:11 +0000
committeradrian <adrian@FreeBSD.org>2012-04-10 06:25:11 +0000
commita5766a62c780f9787c76a3b35949e9fd9112f5a4 (patch)
tree8b9f75e27f630e5f33cfc1d41201de180d0d5642 /lib/libc/stdio/getw.c
parentdcb2500d91e964e97d74bab3028da66a98da680f (diff)
downloadFreeBSD-src-a5766a62c780f9787c76a3b35949e9fd9112f5a4.zip
FreeBSD-src-a5766a62c780f9787c76a3b35949e9fd9112f5a4.tar.gz
* Since the API changed along the -CURRENT path (december 2011),
add a FreeBSD_version check. It should work fine for compiling on -HEAD, 9.x and 8.x. * Conditionally compile the 11n options only when 11n is enabled. The above changes allow the ath(4) driver to compile and run on 8.1-RELEASE (Hi old PC-BSD!) but with the 11n stuff disabled. I've done a test against the net80211 and tools in 8.1-RELEASE. The NIC used in testing is the AR2427 in an EEEPC. Just to be clear - this change is to allow the -HEAD ath/hal/rate code to run on 9.x _and_ 8.x with no source changes. However, when running on earlier kernels, it should only be used for legacy mode. (Don't define ATH_ENABLE_11N.)
Diffstat (limited to 'lib/libc/stdio/getw.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud