1/* src/config.h.in.  Generated from configure.ac by autoheader.  */
2
3/* Sometimes we accidentally #include this config.h instead of the one
4   in .. -- this is particularly true for msys/mingw, which uses the
5   unix config.h but also runs code in the windows directory.
6   */
7#ifdef __MINGW32__
8#include "../config.h"
9#define GOOGLE_GFLAGS_WINDOWS_CONFIG_H_
10#endif
11
12#ifndef GOOGLE_GFLAGS_WINDOWS_CONFIG_H_
13#define GOOGLE_GFLAGS_WINDOWS_CONFIG_H_
14
15/* Always the empty-string on non-windows systems. On windows, should be
16   "__declspec(dllexport)". This way, when we compile the dll, we export our
17   functions/classes. It's safe to define this here because config.h is only
18   used internally, to compile the DLL, and every DLL source file #includes
19   "config.h" before anything else. */
20#ifndef GFLAGS_DLL_DECL
21# define GFLAGS_IS_A_DLL  1   /* not set if you're statically linking */
22# define GFLAGS_DLL_DECL  __declspec(dllexport)
23# define GFLAGS_DLL_DECL_FOR_UNITTESTS  __declspec(dllimport)
24#endif
25
26/* Namespace for Google classes */
27#define GOOGLE_NAMESPACE  ::google
28
29/* Define to 1 if you have the <dlfcn.h> header file. */
30#undef HAVE_DLFCN_H
31
32/* Define to 1 if you have the <fnmatch.h> header file. */
33#undef HAVE_FNMATCH_H
34
35/* Define to 1 if you have the <inttypes.h> header file. */
36#undef HAVE_INTTYPES_H
37
38/* Define to 1 if you have the <memory.h> header file. */
39#undef HAVE_MEMORY_H
40
41/* define if the compiler implements namespaces */
42#define HAVE_NAMESPACES  1
43
44/* Define if you have POSIX threads libraries and header files. */
45#undef HAVE_PTHREAD
46
47/* Define to 1 if you have the `putenv' function. */
48#define HAVE_PUTENV  1
49
50/* Define to 1 if you have the `setenv' function. */
51#undef HAVE_SETENV
52
53/* Define to 1 if you have the <stdint.h> header file. */
54#undef HAVE_STDINT_H
55
56/* Define to 1 if you have the <stdlib.h> header file. */
57#define HAVE_STDLIB_H 1
58
59/* Define to 1 if you have the <strings.h> header file. */
60#undef HAVE_STRINGS_H
61
62/* Define to 1 if you have the <string.h> header file. */
63#define HAVE_STRING_H 1
64
65/* Define to 1 if you have the `strtoll' function. */
66#define HAVE_STRTOLL  1
67
68/* Define to 1 if you have the `strtoq' function. */
69#define HAVE_STRTOQ  1
70
71/* Define to 1 if you have the <sys/stat.h> header file. */
72#define HAVE_SYS_STAT_H 1
73
74/* Define to 1 if you have the <sys/types.h> header file. */
75#define HAVE_SYS_TYPES_H 1
76
77/* Define to 1 if you have the <unistd.h> header file. */
78#undef HAVE_UNISTD_H
79
80/* define if your compiler has __attribute__ */
81#undef HAVE___ATTRIBUTE__
82
83/* Define to the sub-directory in which libtool stores uninstalled libraries.
84   */
85#undef LT_OBJDIR
86
87/* Name of package */
88#undef PACKAGE
89
90/* Define to the address where bug reports for this package should be sent. */
91#undef PACKAGE_BUGREPORT
92
93/* Define to the full name of this package. */
94#undef PACKAGE_NAME
95
96/* Define to the full name and version of this package. */
97#undef PACKAGE_STRING
98
99/* Define to the one symbol short name of this package. */
100#undef PACKAGE_TARNAME
101
102/* Define to the home page for this package. */
103#undef PACKAGE_URL
104
105/* Define to the version of this package. */
106#undef PACKAGE_VERSION
107
108/* Define to necessary symbol if this constant uses a non-standard name on
109   your system. */
110#undef PTHREAD_CREATE_JOINABLE
111
112/* Define to 1 if you have the ANSI C header files. */
113#define STDC_HEADERS  1
114
115/* the namespace where STL code like vector<> is defined */
116#define STL_NAMESPACE  std
117
118/* Version number of package */
119#undef VERSION
120
121/* Stops putting the code inside the Google namespace */
122#define _END_GOOGLE_NAMESPACE_  }
123
124/* Puts following code inside the Google namespace */
125#define _START_GOOGLE_NAMESPACE_  namespace google {
126
127// ---------------------------------------------------------------------
128// Extra stuff not found in config.h.in
129
130// This must be defined before the windows.h is included.  It's needed
131// for mutex.h, to give access to the TryLock method.
132#ifndef _WIN32_WINNT
133# define _WIN32_WINNT 0x0400
134#endif
135
136// TODO(csilvers): include windows/port.h in every relevant source file instead?
137#include "windows/port.h"
138
139#endif  /* GOOGLE_GFLAGS_WINDOWS_CONFIG_H_ */
140