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