• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2008 Google Inc.
2 // Author: Lincoln Smith
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //      http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 // A config.h to be used for MS Visual Studio projects, when the configure
17 // script cannot be used to automatically determine the capabilities of
18 // the environment.
19 
20 #ifndef OPEN_VCDIFF_VSPROJECTS_CONFIG_H_
21 #define OPEN_VCDIFF_VSPROJECTS_CONFIG_H_
22 
23 // The gflags sources are compiled and linked directly into the vcdiff
24 // executable.  They should not be exported by open-vcdiff.
25 #define GFLAGS_DLL_DECL
26 
27 /* Namespace for Google classes */
28 #define GOOGLE_NAMESPACE ::google
29 
30 /* define if the compiler implements namespaces */
31 #define HAVE_NAMESPACES 1
32 
33 /* Define to 1 if you have the `QueryPerformanceCounter' function. */
34 #define HAVE_QUERYPERFORMANCECOUNTER 1
35 
36 /* Define to 1 if you have the <stdlib.h> header file. */
37 #define HAVE_STDLIB_H 1
38 
39 /* Define to 1 if you have the <string.h> header file. */
40 #define HAVE_STRING_H 1
41 
42 /* Define to 1 if you have the <windows.h> header file. */
43 #define HAVE_WINDOWS_H 1
44 
45 /* Name of package */
46 #define PACKAGE "open-vcdiff"
47 
48 /* Define to the address where bug reports for this package should be sent. */
49 #define PACKAGE_BUGREPORT "opensource@google.com"
50 
51 /* Define to the full name of this package. */
52 #define PACKAGE_NAME "open-vcdiff"
53 
54 /* Define to the full name and version of this package. */
55 #define PACKAGE_STRING "open-vcdiff 0.8.3"
56 
57 /* Define to the one symbol short name of this package. */
58 #define PACKAGE_TARNAME "open-vcdiff"
59 
60 /* Define to the home page for this package. */
61 #define PACKAGE_URL ""
62 
63 /* Define to the version of this package. */
64 #define PACKAGE_VERSION "0.8.3"
65 
66 /* Define to 1 if you have the ANSI C header files. */
67 #define STDC_HEADERS 1
68 
69 /* the namespace where STL code like vector<> is defined */
70 #define STL_NAMESPACE std
71 
72 /* Version number of package */
73 #define VERSION "0.8.3"
74 
75 /* Stops putting the code inside the Google namespace */
76 #define _END_GOOGLE_NAMESPACE_ }
77 
78 /* Puts following code inside the Google namespace */
79 #define _START_GOOGLE_NAMESPACE_ namespace google {
80 
81 // These functions have different names, but the same behavior,
82 // for Visual Studio.
83 #define strcasecmp _stricmp
84 #define snprintf _snprintf
85 
86 #endif  // OPEN_VCDIFF_VSPROJECTS_CONFIG_H_
87