| OLD | NEW |
| 1 /* A manual version of config.h fit for windows machines. */ | 1 /* A manual version of config.h fit for windows machines. */ |
| 2 | 2 |
| 3 /* Sometimes we accidentally #include this config.h instead of the one | 3 /* Sometimes we accidentally #include this config.h instead of the one |
| 4 in .. -- this is particularly true for msys/mingw, which uses the | 4 in .. -- this is particularly true for msys/mingw, which uses the |
| 5 unix config.h but also runs code in the windows directory. | 5 unix config.h but also runs code in the windows directory. |
| 6 */ | 6 */ |
| 7 #ifdef __MINGW32__ | 7 #ifdef __MINGW32__ |
| 8 #include "../config.h" | 8 #include "../config.h" |
| 9 #define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ | 9 #define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ |
| 10 #endif | 10 #endif |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 /* Define to 1 if you have the <libunwind.h> header file. */ | 88 /* Define to 1 if you have the <libunwind.h> header file. */ |
| 89 #undef HAVE_LIBUNWIND_H | 89 #undef HAVE_LIBUNWIND_H |
| 90 | 90 |
| 91 /* Define to 1 if you have the <linux/ptrace.h> header file. */ | 91 /* Define to 1 if you have the <linux/ptrace.h> header file. */ |
| 92 #undef HAVE_LINUX_PTRACE_H | 92 #undef HAVE_LINUX_PTRACE_H |
| 93 | 93 |
| 94 /* Define to 1 if you have the <malloc.h> header file. */ | 94 /* Define to 1 if you have the <malloc.h> header file. */ |
| 95 #define HAVE_MALLOC_H 1 | 95 #define HAVE_MALLOC_H 1 |
| 96 | 96 |
| 97 /* Define to 1 if you have the <malloc/malloc.h> header file. */ | |
| 98 #undef HAVE_MALLOC_MALLOC_H | |
| 99 | |
| 100 /* Define to 1 if you have the <memory.h> header file. */ | 97 /* Define to 1 if you have the <memory.h> header file. */ |
| 101 #undef HAVE_MEMORY_H | 98 #undef HAVE_MEMORY_H |
| 102 | 99 |
| 103 /* Define to 1 if you have a working `mmap' system call. */ | 100 /* Define to 1 if you have a working `mmap' system call. */ |
| 104 #undef HAVE_MMAP | 101 #undef HAVE_MMAP |
| 105 | 102 |
| 106 /* define if the compiler implements namespaces */ | 103 /* define if the compiler implements namespaces */ |
| 107 #define HAVE_NAMESPACES 1 | 104 #define HAVE_NAMESPACES 1 |
| 108 | 105 |
| 109 /* Define to 1 if you have the <poll.h> header file. */ | 106 /* Define to 1 if you have the <poll.h> header file. */ |
| (...skipping 22 matching lines...) Expand all Loading... |
| 132 | 129 |
| 133 /* Define to 1 if you have the <strings.h> header file. */ | 130 /* Define to 1 if you have the <strings.h> header file. */ |
| 134 #undef HAVE_STRINGS_H | 131 #undef HAVE_STRINGS_H |
| 135 | 132 |
| 136 /* Define to 1 if you have the <string.h> header file. */ | 133 /* Define to 1 if you have the <string.h> header file. */ |
| 137 #define HAVE_STRING_H 1 | 134 #define HAVE_STRING_H 1 |
| 138 | 135 |
| 139 /* Define to 1 if the system has the type `struct mallinfo'. */ | 136 /* Define to 1 if the system has the type `struct mallinfo'. */ |
| 140 #undef HAVE_STRUCT_MALLINFO | 137 #undef HAVE_STRUCT_MALLINFO |
| 141 | 138 |
| 142 /* Define to 1 if you have the <sys/cdefs.h> header file. */ | |
| 143 #undef HAVE_SYS_CDEFS_H | |
| 144 | |
| 145 /* Define to 1 if you have the <sys/malloc.h> header file. */ | |
| 146 #undef HAVE_SYS_MALLOC_H | |
| 147 | |
| 148 /* Define to 1 if you have the <sys/param.h> header file. */ | 139 /* Define to 1 if you have the <sys/param.h> header file. */ |
| 149 #undef HAVE_SYS_PARAM_H | 140 #undef HAVE_SYS_PARAM_H |
| 150 | 141 |
| 151 /* Define to 1 if you have the <sys/prctl.h> header file. */ | 142 /* Define to 1 if you have the <sys/prctl.h> header file. */ |
| 152 #undef HAVE_SYS_PRCTL_H | 143 #undef HAVE_SYS_PRCTL_H |
| 153 | 144 |
| 154 /* Define to 1 if you have the <sys/resource.h> header file. */ | 145 /* Define to 1 if you have the <sys/resource.h> header file. */ |
| 155 #undef HAVE_SYS_RESOURCE_H | 146 #undef HAVE_SYS_RESOURCE_H |
| 156 | 147 |
| 157 /* Define to 1 if you have the <sys/socket.h> header file. */ | 148 /* Define to 1 if you have the <sys/socket.h> header file. */ |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 /* prefix where we look for installed files */ | 190 /* prefix where we look for installed files */ |
| 200 #undef INSTALL_PREFIX | 191 #undef INSTALL_PREFIX |
| 201 | 192 |
| 202 /* Define to 1 if int32_t is equivalent to intptr_t */ | 193 /* Define to 1 if int32_t is equivalent to intptr_t */ |
| 203 #undef INT32_EQUALS_INTPTR | 194 #undef INT32_EQUALS_INTPTR |
| 204 | 195 |
| 205 /* Define to the sub-directory in which libtool stores uninstalled libraries. | 196 /* Define to the sub-directory in which libtool stores uninstalled libraries. |
| 206 */ | 197 */ |
| 207 #undef LT_OBJDIR | 198 #undef LT_OBJDIR |
| 208 | 199 |
| 209 /* Define to 'volatile' if __malloc_hook is declared volatile */ | |
| 210 #undef MALLOC_HOOK_MAYBE_VOLATILE | |
| 211 | |
| 212 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ | 200 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ |
| 213 #undef NO_MINUS_C_MINUS_O | 201 #undef NO_MINUS_C_MINUS_O |
| 214 | 202 |
| 215 /* Name of package */ | 203 /* Name of package */ |
| 216 #define PACKAGE "gperftools" | 204 #define PACKAGE "google-perftools" |
| 217 | 205 |
| 218 /* Define to the address where bug reports for this package should be sent. */ | 206 /* Define to the address where bug reports for this package should be sent. */ |
| 219 #define PACKAGE_BUGREPORT "opensource@google.com" | 207 #define PACKAGE_BUGREPORT "opensource@google.com" |
| 220 | 208 |
| 221 /* Define to the full name of this package. */ | 209 /* Define to the full name of this package. */ |
| 222 #define PACKAGE_NAME "gperftools" | 210 #define PACKAGE_NAME "google-perftools" |
| 223 | 211 |
| 224 /* Define to the full name and version of this package. */ | 212 /* Define to the full name and version of this package. */ |
| 225 #define PACKAGE_STRING "gperftools 2.0" | 213 #define PACKAGE_STRING "google-perftools 1.7" |
| 226 | 214 |
| 227 /* Define to the one symbol short name of this package. */ | 215 /* Define to the one symbol short name of this package. */ |
| 228 #define PACKAGE_TARNAME "gperftools" | 216 #define PACKAGE_TARNAME "google-perftools" |
| 229 | 217 |
| 230 /* Define to the home page for this package. */ | 218 /* Define to the home page for this package. */ |
| 231 #undef PACKAGE_URL | 219 #undef PACKAGE_URL |
| 232 | 220 |
| 233 /* Define to the version of this package. */ | 221 /* Define to the version of this package. */ |
| 234 #define PACKAGE_VERSION "2.0" | 222 #define PACKAGE_VERSION "1.7" |
| 235 | 223 |
| 236 /* How to access the PC from a struct ucontext */ | 224 /* How to access the PC from a struct ucontext */ |
| 237 #undef PC_FROM_UCONTEXT | 225 #undef PC_FROM_UCONTEXT |
| 238 | 226 |
| 239 /* Always the empty-string on non-windows systems. On windows, should be | 227 /* Always the empty-string on non-windows systems. On windows, should be |
| 240 "__declspec(dllexport)". This way, when we compile the dll, we export our | 228 "__declspec(dllexport)". This way, when we compile the dll, we export our |
| 241 functions/classes. It's safe to define this here because config.h is only | 229 functions/classes. It's safe to define this here because config.h is only |
| 242 used internally, to compile the DLL, and every DLL source file #includes | 230 used internally, to compile the DLL, and every DLL source file #includes |
| 243 "config.h" before anything else. */ | 231 "config.h" before anything else. */ |
| 244 #ifndef PERFTOOLS_DLL_DECL | 232 #ifndef PERFTOOLS_DLL_DECL |
| 245 # define PERFTOOLS_IS_A_DLL 1 /* not set if you're statically linking */ | 233 # define PERFTOOLS_IS_A_DLL 1 /* not set if you're statically linking */ |
| 246 # define PERFTOOLS_DLL_DECL __declspec(dllexport) | 234 # define PERFTOOLS_DLL_DECL __declspec(dllexport) |
| 247 # define PERFTOOLS_DLL_DECL_FOR_UNITTESTS __declspec(dllimport) | 235 # define PERFTOOLS_DLL_DECL_FOR_UNITTESTS __declspec(dllimport) |
| 248 #endif | 236 #endif |
| 249 | 237 |
| 250 /* printf format code for printing a size_t and ssize_t */ | 238 /* printf format code for printing a size_t and ssize_t */ |
| 251 #define PRIdS "Id" | 239 #define PRIdS "Id" |
| 252 | 240 |
| 253 /* printf format code for printing a size_t and ssize_t */ | 241 /* printf format code for printing a size_t and ssize_t */ |
| 254 #define PRIuS "Iu" | 242 #define PRIuS "Iu" |
| 255 | 243 |
| 256 /* printf format code for printing a size_t and ssize_t */ | 244 /* printf format code for printing a size_t and ssize_t */ |
| 257 #define PRIxS "Ix" | 245 #define PRIxS "Ix" |
| 258 | 246 |
| 259 /* Mark the systems where we know it's bad if pthreads runs too | |
| 260 early before main (before threads are initialized, presumably). */ | |
| 261 #ifdef __FreeBSD__ | |
| 262 #define PTHREADS_CRASHES_IF_RUN_TOO_EARLY 1 | |
| 263 #endif | |
| 264 | |
| 265 /* Define to necessary symbol if this constant uses a non-standard name on | 247 /* Define to necessary symbol if this constant uses a non-standard name on |
| 266 your system. */ | 248 your system. */ |
| 267 #undef PTHREAD_CREATE_JOINABLE | 249 #undef PTHREAD_CREATE_JOINABLE |
| 268 | 250 |
| 269 /* Define to 1 if you have the ANSI C header files. */ | 251 /* Define to 1 if you have the ANSI C header files. */ |
| 270 #define STDC_HEADERS 1 | 252 #define STDC_HEADERS 1 |
| 271 | 253 |
| 272 /* the namespace where STL code like vector<> is defined */ | 254 /* the namespace where STL code like vector<> is defined */ |
| 273 #define STL_NAMESPACE std | 255 #define STL_NAMESPACE std |
| 274 | 256 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 297 # define _WIN32_WINNT 0x0501 | 279 # define _WIN32_WINNT 0x0501 |
| 298 #endif | 280 #endif |
| 299 | 281 |
| 300 // We want to make sure not to ever try to #include heap-checker.h | 282 // We want to make sure not to ever try to #include heap-checker.h |
| 301 #define NO_HEAP_CHECK 1 | 283 #define NO_HEAP_CHECK 1 |
| 302 | 284 |
| 303 // TODO(csilvers): include windows/port.h in every relevant source file instead? | 285 // TODO(csilvers): include windows/port.h in every relevant source file instead? |
| 304 #include "windows/port.h" | 286 #include "windows/port.h" |
| 305 | 287 |
| 306 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */ | 288 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */ |
| OLD | NEW |