// Copyright 2008 Google Inc. // Author: Lincoln Smith // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // A config.h to be used for MS Visual Studio projects, when the configure // script cannot be used to automatically determine the capabilities of // the environment. #ifndef OPEN_VCDIFF_VSPROJECTS_CONFIG_H_ #define OPEN_VCDIFF_VSPROJECTS_CONFIG_H_ // The gflags sources are compiled and linked directly into the vcdiff // executable. They should not be exported by open-vcdiff. #define GFLAGS_DLL_DECL /* Namespace for Google classes */ #define GOOGLE_NAMESPACE ::google /* define if the compiler implements namespaces */ #define HAVE_NAMESPACES 1 /* Define to 1 if you have the `QueryPerformanceCounter' function. */ #define HAVE_QUERYPERFORMANCECOUNTER 1 /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the <windows.h> header file. */ #define HAVE_WINDOWS_H 1 /* Name of package */ #define PACKAGE "open-vcdiff" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "opensource@google.com" /* Define to the full name of this package. */ #define PACKAGE_NAME "open-vcdiff" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "open-vcdiff 0.8.3" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "open-vcdiff" /* Define to the home page for this package. */ #define PACKAGE_URL "" /* Define to the version of this package. */ #define PACKAGE_VERSION "0.8.3" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* the namespace where STL code like vector<> is defined */ #define STL_NAMESPACE std /* Version number of package */ #define VERSION "0.8.3" /* Stops putting the code inside the Google namespace */ #define _END_GOOGLE_NAMESPACE_ } /* Puts following code inside the Google namespace */ #define _START_GOOGLE_NAMESPACE_ namespace google { // These functions have different names, but the same behavior, // for Visual Studio. #define strcasecmp _stricmp #define snprintf _snprintf #endif // OPEN_VCDIFF_VSPROJECTS_CONFIG_H_