diff options
author | dim <dim@FreeBSD.org> | 2011-11-12 23:17:54 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-11-12 23:17:54 +0000 |
commit | df580e3de17e7a70fb4250e2a509503a96202288 (patch) | |
tree | 3627f05e87284f4c4ff1eeb67129473fead48f46 | |
parent | 71ad0691dd9cbadd41af4c84c22a21bb9622e566 (diff) | |
download | FreeBSD-src-df580e3de17e7a70fb4250e2a509503a96202288.zip FreeBSD-src-df580e3de17e7a70fb4250e2a509503a96202288.tar.gz |
Fix kernel build breakage after r227475. I had forgotten kernels are
built with -Wundef, as opposed to world.
Additionally, cdefs.h tends to not use indentation for preprocessor
directives, so remove that too.
Pointy hat to: me
-rw-r--r-- | sys/sys/cdefs.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 88f43e3..495daf2 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -254,14 +254,14 @@ #endif /* C++11 exposes a load of C99 stuff */ -#if __cplusplus >= 201103L -# define __LONG_LONG_SUPPORTED -# ifndef __STDC_LIMIT_MACROS -# define __STDC_LIMIT_MACROS -# endif -# ifndef __STDC_CONSTANT_MACROS -# define __STDC_CONSTANT_MACROS -# endif +#if defined(__cplusplus) && __cplusplus >= 201103L +#define __LONG_LONG_SUPPORTED +#ifndef __STDC_LIMIT_MACROS +#define __STDC_LIMIT_MACROS +#endif +#ifndef __STDC_CONSTANT_MACROS +#define __STDC_CONSTANT_MACROS +#endif #endif /* |