System.h
Go to the documentation of this file.
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2  file Copyright.txt or https://cmake.org/licensing#kwsys for details. */
3 #ifndef vtksys_System_h
4 #define vtksys_System_h
5 
6 #include <vtksys/Configure.h>
7 
8 /* Redefine all public interface symbol names to be in the proper
9  namespace. These macros are used internally to kwsys only, and are
10  not visible to user code. Use kwsysHeaderDump.pl to reproduce
11  these macros after making changes to the interface. */
12 #if !defined(KWSYS_NAMESPACE)
13 # define kwsys_ns(x) vtksys##x
14 # define kwsysEXPORT vtksys_EXPORT
15 #endif
16 #if !vtksys_NAME_IS_KWSYS
17 # define kwsysSystem_Parse_CommandForUnix \
18  kwsys_ns(System_Parse_CommandForUnix)
19 #endif
20 
21 #if defined(__cplusplus)
22 extern "C" {
23 #endif
24 
43 kwsysEXPORT char** kwsysSystem_Parse_CommandForUnix(const char* command,
44  int flags);
45 
46 #if defined(__cplusplus)
47 } /* extern "C" */
48 #endif
49 
50 /* If we are building a kwsys .c or .cxx file, let it use these macros.
51  Otherwise, undefine them to keep the namespace clean. */
52 #if !defined(KWSYS_NAMESPACE)
53 # undef kwsys_ns
54 # undef kwsysEXPORT
55 # if !defined(KWSYS_NAMESPACE) && !vtksys_NAME_IS_KWSYS
56 # undef kwsysSystem_Parse_CommandForUnix
57 # endif
58 #endif
59 
60 #endif
#define kwsysSystem_Parse_CommandForUnix
Definition: System.h:17
#define kwsysEXPORT
Definition: System.h:14