summaryrefslogtreecommitdiffstats
path: root/System.h.in
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2018-06-01 16:53:33 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-01 16:54:12 (GMT)
commit3af8c7715b359affce99c575bdcb84ca87585bb2 (patch)
treebb551a6063ccc08c1fdae71d0a6cd592e369c906 /System.h.in
parent1f52cb087aeb1eef7082884df6423b749e7f50c1 (diff)
downloadCMake-3af8c7715b359affce99c575bdcb84ca87585bb2.zip
CMake-3af8c7715b359affce99c575bdcb84ca87585bb2.tar.gz
CMake-3af8c7715b359affce99c575bdcb84ca87585bb2.tar.bz2
KWSys 2018-06-01 (8ef62b28)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 8ef62b289e0a99856893ef49106c2b2d94e9dd0c (master). Upstream Shortlog ----------------- Brad King (2): 6b9c233c clang-format.bash: update to clang-format-6.0 b7a341cf Empty commit at end of history preceding clang-format-6.0 style transition Kitware Robot (1): 828b6837 Revise C++ coding style using clang-format-6.0
Diffstat (limited to 'System.h.in')
-rw-r--r--System.h.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/System.h.in b/System.h.in
index 102974d..a9d4f5e 100644
--- a/System.h.in
+++ b/System.h.in
@@ -10,11 +10,12 @@
not visible to user code. Use kwsysHeaderDump.pl to reproduce
these macros after making changes to the interface. */
#if !defined(KWSYS_NAMESPACE)
-#define kwsys_ns(x) @KWSYS_NAMESPACE@##x
-#define kwsysEXPORT @KWSYS_NAMESPACE@_EXPORT
+# define kwsys_ns(x) @KWSYS_NAMESPACE@##x
+# define kwsysEXPORT @KWSYS_NAMESPACE@_EXPORT
#endif
#if !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
-#define kwsysSystem_Parse_CommandForUnix kwsys_ns(System_Parse_CommandForUnix)
+# define kwsysSystem_Parse_CommandForUnix \
+ kwsys_ns(System_Parse_CommandForUnix)
#endif
#if defined(__cplusplus)
@@ -49,11 +50,11 @@ kwsysEXPORT char** kwsysSystem_Parse_CommandForUnix(const char* command,
/* If we are building a kwsys .c or .cxx file, let it use these macros.
Otherwise, undefine them to keep the namespace clean. */
#if !defined(KWSYS_NAMESPACE)
-#undef kwsys_ns
-#undef kwsysEXPORT
-#if !defined(KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
-#undef kwsysSystem_Parse_CommandForUnix
-#endif
+# undef kwsys_ns
+# undef kwsysEXPORT
+# if !defined(KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
+# undef kwsysSystem_Parse_CommandForUnix
+# endif
#endif
#endif