svn commit: r235806 - stable/9/sys/sys
Dimitry Andric
dim at FreeBSD.org
Tue May 22 20:26:15 UTC 2012
Author: dim
Date: Tue May 22 20:26:14 2012
New Revision: 235806
URL: http://svn.freebsd.org/changeset/base/235806
Log:
MFC r227478:
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
Modified:
stable/9/sys/sys/cdefs.h
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/sys/cdefs.h
==============================================================================
--- stable/9/sys/sys/cdefs.h Tue May 22 19:53:25 2012 (r235805)
+++ stable/9/sys/sys/cdefs.h Tue May 22 20:26:14 2012 (r235806)
@@ -309,14 +309,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
/*
More information about the svn-src-stable-9
mailing list