OLD | NEW |
1 /* src/config.h. Generated from config.h.in by configure. */ | 1 /* Generated from config.h.in during build configuration using CMake. */ |
2 /* src/config.h.in. Generated from configure.ac by autoheader. */ | |
3 | 2 |
4 /* Always the empty-string on non-windows systems. On windows, should be | 3 // Note: This header file is only used internally. It is not part of public inte
rface! |
5 "__declspec(dllexport)". This way, when we compile the dll, we export our | |
6 functions/classes. It's safe to define this here because config.h is only | |
7 used internally, to compile the DLL, and every DLL source file #includes | |
8 "config.h" before anything else. */ | |
9 #define GFLAGS_DLL_DECL /**/ | |
10 | 4 |
11 /* Namespace for Google classes */ | 5 // --------------------------------------------------------------------------- |
12 #define GOOGLE_NAMESPACE ::google | 6 // System checks |
13 | 7 |
14 /* Define to 1 if you have the <dlfcn.h> header file. */ | 8 // Define if you build this library for a MS Windows OS. |
15 #define HAVE_DLFCN_H 1 | 9 /* #undef OS_WINDOWS */ |
16 | 10 |
17 /* Define to 1 if you have the <fnmatch.h> header file. */ | 11 // Define if you have the <stdint.h> header file. |
18 #define HAVE_FNMATCH_H 1 | 12 #define HAVE_STDINT_H |
19 | 13 |
20 /* Define to 1 if you have the <inttypes.h> header file. */ | 14 // Define if you have the <sys/types.h> header file. |
21 #define HAVE_INTTYPES_H 1 | 15 #define HAVE_SYS_TYPES_H |
22 | 16 |
23 /* Define to 1 if you have the <memory.h> header file. */ | 17 // Define if you have the <inttypes.h> header file. |
24 #define HAVE_MEMORY_H 1 | 18 #define HAVE_INTTYPES_H |
25 | 19 |
26 /* define if the compiler implements namespaces */ | 20 // Define if you have the <sys/stat.h> header file. |
27 #define HAVE_NAMESPACES 1 | 21 #define HAVE_SYS_STAT_H |
28 | 22 |
29 /* Define if you have POSIX threads libraries and header files. */ | 23 // Define if you have the <unistd.h> header file. |
30 #define HAVE_PTHREAD 1 | 24 #define HAVE_UNISTD_H |
31 | 25 |
32 /* Define to 1 if you have the `putenv' function. */ | 26 // Define if you have the <fnmatch.h> header file. |
33 #define HAVE_PUTENV 1 | 27 #define HAVE_FNMATCH_H |
34 | 28 |
35 /* Define to 1 if you have the `setenv' function. */ | 29 // Define if you have the <shlwapi.h> header file (Windows 2000/XP). |
36 #define HAVE_SETENV 1 | 30 /* #undef HAVE_SHLWAPI_H */ |
37 | 31 |
38 /* Define to 1 if you have the <stdint.h> header file. */ | 32 // Define if you have the strtoll function. |
39 #define HAVE_STDINT_H 1 | 33 #define HAVE_STRTOLL |
40 | 34 |
41 /* Define to 1 if you have the <stdlib.h> header file. */ | 35 // Define if you have the strtoq function. |
42 #define HAVE_STDLIB_H 1 | 36 /* #undef HAVE_STRTOQ */ |
43 | 37 |
44 /* Define to 1 if you have the <strings.h> header file. */ | 38 // Define if you have the <pthread.h> header file. |
45 #define HAVE_STRINGS_H 1 | 39 #define HAVE_PTHREAD |
46 | 40 |
47 /* Define to 1 if you have the <string.h> header file. */ | 41 // Define if your pthread library defines the type pthread_rwlock_t |
48 #define HAVE_STRING_H 1 | 42 #define HAVE_RWLOCK |
49 | 43 |
50 /* Define to 1 if you have the `strtoll' function. */ | 44 // gcc requires this to get PRId64, etc. |
51 #define HAVE_STRTOLL 1 | 45 #if defined(HAVE_INTTYPES_H) && !defined(__STDC_FORMAT_MACROS) |
| 46 # define __STDC_FORMAT_MACROS 1 |
| 47 #endif |
52 | 48 |
53 /* Define to 1 if you have the `strtoq' function. */ | 49 // --------------------------------------------------------------------------- |
54 #define HAVE_STRTOQ 1 | 50 // Package information |
55 | 51 |
56 /* Define to 1 if you have the <sys/stat.h> header file. */ | 52 // Name of package. |
57 #define HAVE_SYS_STAT_H 1 | 53 #define PACKAGE gflags |
58 | 54 |
59 /* Define to 1 if you have the <sys/types.h> header file. */ | 55 // Define to the full name of this package. |
60 #define HAVE_SYS_TYPES_H 1 | 56 #define PACKAGE_NAME gflags |
61 | 57 |
62 /* Define to 1 if you have the <unistd.h> header file. */ | 58 // Define to the full name and version of this package. |
63 #define HAVE_UNISTD_H 1 | 59 #define PACKAGE_STRING gflags 2.2.0 |
64 | 60 |
65 /* define if your compiler has __attribute__ */ | 61 // Define to the one symbol short name of this package. |
66 #define HAVE___ATTRIBUTE__ 1 | 62 #define PACKAGE_TARNAME gflags-2.2.0 |
67 | 63 |
68 /* Define to the sub-directory in which libtool stores uninstalled libraries. | 64 // Define to the version of this package. |
69 */ | 65 #define PACKAGE_VERSION 2.2.0 |
70 #define LT_OBJDIR ".libs/" | |
71 | 66 |
72 /* Name of package */ | 67 // Version number of package. |
73 #define PACKAGE "gflags" | 68 #define VERSION PACKAGE_VERSION |
74 | 69 |
75 /* Define to the address where bug reports for this package should be sent. */ | 70 // Define to the address where bug reports for this package should be sent. |
76 #define PACKAGE_BUGREPORT "opensource@google.com" | 71 #define PACKAGE_BUGREPORT https://github.com/schuhschuh/gflags/issues |
77 | 72 |
78 /* Define to the full name of this package. */ | 73 // --------------------------------------------------------------------------- |
79 #define PACKAGE_NAME "gflags" | 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 |
80 | 82 |
81 /* Define to the full name and version of this package. */ | 83 // --------------------------------------------------------------------------- |
82 #define PACKAGE_STRING "gflags 1.5" | 84 // Windows |
83 | 85 |
84 /* Define to the one symbol short name of this package. */ | 86 // Whether gflags library is a DLL. |
85 #define PACKAGE_TARNAME "gflags" | 87 #ifndef GFLAGS_IS_A_DLL |
| 88 # define GFLAGS_IS_A_DLL 0 |
| 89 #endif |
86 | 90 |
87 /* Define to the home page for this package. */ | 91 // Always export symbols when compiling a shared library as this file is only |
88 #define PACKAGE_URL "" | 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 otherwis
e. |
| 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 |
89 | 105 |
90 /* Define to the version of this package. */ | 106 #ifdef OS_WINDOWS |
91 #define PACKAGE_VERSION "1.5" | 107 // The unittests import the symbols of the shared gflags library |
92 | 108 # if GFLAGS_IS_A_DLL && defined(_MSC_VER) |
93 /* Define to necessary symbol if this constant uses a non-standard name on | 109 # define GFLAGS_DLL_DECL_FOR_UNITTESTS __declspec(dllimport) |
94 your system. */ | 110 # endif |
95 /* #undef PTHREAD_CREATE_JOINABLE */ | 111 # include "windows_port.h" |
96 | 112 #endif |
97 /* Define to 1 if you have the ANSI C header files. */ | |
98 #define STDC_HEADERS 1 | |
99 | |
100 /* the namespace where STL code like vector<> is defined */ | |
101 #define STL_NAMESPACE std | |
102 | |
103 /* Version number of package */ | |
104 #define VERSION "1.5" | |
105 | |
106 /* Stops putting the code inside the Google namespace */ | |
107 #define _END_GOOGLE_NAMESPACE_ } | |
108 | |
109 /* Puts following code inside the Google namespace */ | |
110 #define _START_GOOGLE_NAMESPACE_ namespace google { | |
OLD | NEW |