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