• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 /* Name of package */
84 #undef PACKAGE
85 
86 /* Define to the address where bug reports for this package should be sent. */
87 #undef PACKAGE_BUGREPORT
88 
89 /* Define to the full name of this package. */
90 #undef PACKAGE_NAME
91 
92 /* Define to the full name and version of this package. */
93 #undef PACKAGE_STRING
94 
95 /* Define to the one symbol short name of this package. */
96 #undef PACKAGE_TARNAME
97 
98 /* Define to the home page for this package. */
99 #undef PACKAGE_URL
100 
101 /* Define to the version of this package. */
102 #undef PACKAGE_VERSION
103 
104 /* Define to necessary symbol if this constant uses a non-standard name on
105    your system. */
106 #undef PTHREAD_CREATE_JOINABLE
107 
108 /* Define to 1 if you have the ANSI C header files. */
109 #define STDC_HEADERS  1
110 
111 /* the namespace where STL code like vector<> is defined */
112 #define STL_NAMESPACE  std
113 
114 /* Version number of package */
115 #undef VERSION
116 
117 /* Stops putting the code inside the Google namespace */
118 #define _END_GOOGLE_NAMESPACE_  }
119 
120 /* Puts following code inside the Google namespace */
121 #define _START_GOOGLE_NAMESPACE_  namespace google {
122 
123 // ---------------------------------------------------------------------
124 // Extra stuff not found in config.h.in
125 
126 // This must be defined before the windows.h is included.  It's needed
127 // for mutex.h, to give access to the TryLock method.
128 #ifndef _WIN32_WINNT
129 # define _WIN32_WINNT 0x0400
130 #endif
131 
132 // TODO(csilvers): include windows/port.h in every relevant source file instead?
133 #include "windows/port.h"
134 
135 #endif  /* GOOGLE_GFLAGS_WINDOWS_CONFIG_H_ */
136