fix: Remove obsolete and unused CleanFileName code
[platform/upstream/gflags.git] / src / config.h.in
1 /* Generated from config.h.in during build configuration using CMake. */
2
3 // Note: This header file is only used internally. It is not part of public interface!
4
5 #ifndef GFLAGS_CONFIG_H_
6 #define GFLAGS_CONFIG_H_
7
8
9 // ---------------------------------------------------------------------------
10 // System checks
11
12 // Define if you build this library for a MS Windows OS.
13 #cmakedefine OS_WINDOWS
14
15 // Define if you have the <stdint.h> header file.
16 #cmakedefine HAVE_STDINT_H
17
18 // Define if you have the <sys/types.h> header file.
19 #cmakedefine HAVE_SYS_TYPES_H
20
21 // Define if you have the <inttypes.h> header file.
22 #cmakedefine HAVE_INTTYPES_H
23
24 // Define if you have the <sys/stat.h> header file.
25 #cmakedefine HAVE_SYS_STAT_H
26
27 // Define if you have the <unistd.h> header file.
28 #cmakedefine HAVE_UNISTD_H
29
30 // Define if you have the <fnmatch.h> header file.
31 #cmakedefine HAVE_FNMATCH_H
32
33 // Define if you have the <shlwapi.h> header file (Windows 2000/XP).
34 #cmakedefine HAVE_SHLWAPI_H
35
36 // Define if you have the strtoll function.
37 #cmakedefine HAVE_STRTOLL
38
39 // Define if you have the strtoq function.
40 #cmakedefine HAVE_STRTOQ
41
42 // Define if you have the <pthread.h> header file.
43 #cmakedefine HAVE_PTHREAD
44
45 // Define if your pthread library defines the type pthread_rwlock_t
46 #cmakedefine HAVE_RWLOCK
47
48 // gcc requires this to get PRId64, etc.
49 #if defined(HAVE_INTTYPES_H) && !defined(__STDC_FORMAT_MACROS)
50 #  define __STDC_FORMAT_MACROS 1
51 #endif
52
53 // ---------------------------------------------------------------------------
54 // Package information
55
56 // Name of package.
57 #define PACKAGE @PROJECT_NAME@
58
59 // Define to the full name of this package.
60 #define PACKAGE_NAME @PACKAGE_NAME@
61
62 // Define to the full name and version of this package.
63 #define PACKAGE_STRING @PACKAGE_STRING@
64
65 // Define to the one symbol short name of this package.
66 #define PACKAGE_TARNAME @PACKAGE_TARNAME@
67
68 // Define to the version of this package.
69 #define PACKAGE_VERSION @PACKAGE_VERSION@
70
71 // Version number of package.
72 #define VERSION PACKAGE_VERSION
73
74 // Define to the address where bug reports for this package should be sent.
75 #define PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
76
77 // ---------------------------------------------------------------------------
78 // Path separator
79 #ifndef PATH_SEPARATOR
80 #  ifdef OS_WINDOWS
81 #    define PATH_SEPARATOR  '\\'
82 #  else
83 #    define PATH_SEPARATOR  '/'
84 #  endif
85 #endif
86
87 // ---------------------------------------------------------------------------
88 // Windows
89
90 // Always export symbols when compiling a shared library as this file is only
91 // included by internal modules when building the gflags library itself.
92 // The gflags_declare.h header file will set it to import these symbols otherwise.
93 #ifndef GFLAGS_DLL_DECL
94 #  if GFLAGS_IS_A_DLL && defined(_MSC_VER)
95 #    define GFLAGS_DLL_DECL __declspec(dllexport)
96 #  else
97 #    define GFLAGS_DLL_DECL
98 #  endif
99 #endif
100 // Flags defined by the gflags library itself must be exported
101 #ifndef GFLAGS_DLL_DEFINE_FLAG
102 #  define GFLAGS_DLL_DEFINE_FLAG GFLAGS_DLL_DECL
103 #endif
104
105 #ifdef OS_WINDOWS
106 // The unittests import the symbols of the shared gflags library
107 #  if GFLAGS_IS_A_DLL && defined(_MSC_VER)
108 #    define GFLAGS_DLL_DECL_FOR_UNITTESTS __declspec(dllimport)
109 #  endif
110 #  include "windows_port.h"
111 #endif
112
113
114 #endif // GFLAGS_CONFIG_H_