1 /* Generated from config.h.in during build configuration using CMake. */
3 // Note: This header file is only used internally. It is not part of public interface!
5 #ifndef GFLAGS_CONFIG_H_
6 #define GFLAGS_CONFIG_H_
9 // ---------------------------------------------------------------------------
12 // Define if you build this library for a MS Windows OS.
13 #cmakedefine OS_WINDOWS
15 // Define if you have the <stdint.h> header file.
16 #cmakedefine HAVE_STDINT_H
18 // Define if you have the <sys/types.h> header file.
19 #cmakedefine HAVE_SYS_TYPES_H
21 // Define if you have the <inttypes.h> header file.
22 #cmakedefine HAVE_INTTYPES_H
24 // Define if you have the <sys/stat.h> header file.
25 #cmakedefine HAVE_SYS_STAT_H
27 // Define if you have the <unistd.h> header file.
28 #cmakedefine HAVE_UNISTD_H
30 // Define if you have the <fnmatch.h> header file.
31 #cmakedefine HAVE_FNMATCH_H
33 // Define if you have the <shlwapi.h> header file (Windows 2000/XP).
34 #cmakedefine HAVE_SHLWAPI_H
36 // Define if you have the strtoll function.
37 #cmakedefine HAVE_STRTOLL
39 // Define if you have the strtoq function.
40 #cmakedefine HAVE_STRTOQ
42 // Define if you have the <pthread.h> header file.
43 #cmakedefine HAVE_PTHREAD
45 // Define if your pthread library defines the type pthread_rwlock_t
46 #cmakedefine HAVE_RWLOCK
48 // gcc requires this to get PRId64, etc.
49 #if defined(HAVE_INTTYPES_H) && !defined(__STDC_FORMAT_MACROS)
50 # define __STDC_FORMAT_MACROS 1
53 // ---------------------------------------------------------------------------
54 // Package information
57 #define PACKAGE @PROJECT_NAME@
59 // Define to the full name of this package.
60 #define PACKAGE_NAME @PACKAGE_NAME@
62 // Define to the full name and version of this package.
63 #define PACKAGE_STRING @PACKAGE_STRING@
65 // Define to the one symbol short name of this package.
66 #define PACKAGE_TARNAME @PACKAGE_TARNAME@
68 // Define to the version of this package.
69 #define PACKAGE_VERSION @PACKAGE_VERSION@
71 // Version number of package.
72 #define VERSION PACKAGE_VERSION
74 // Define to the address where bug reports for this package should be sent.
75 #define PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@
77 // ---------------------------------------------------------------------------
79 #ifndef PATH_SEPARATOR
81 # define PATH_SEPARATOR '\\'
83 # define PATH_SEPARATOR '/'
87 // ---------------------------------------------------------------------------
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)
97 # define GFLAGS_DLL_DECL
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
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)
110 # include "windows_port.h"
114 #endif // GFLAGS_CONFIG_H_