2 * svn_private_config.hw : Template for svn_private_config.h on Win32.
4 * ====================================================================
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements. See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership. The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License. You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied. See the License for the
19 * specific language governing permissions and limitations
21 * ====================================================================
24 /* ==================================================================== */
29 #ifndef SVN_PRIVATE_CONFIG_HW
30 #define SVN_PRIVATE_CONFIG_HW
33 /* Define to a Windows-specific equivalent of config.guess output */
34 #define SVN_BUILD_HOST "x86-microsoft-windows"
37 #define SVN_BUILD_TARGET "x64-microsoft-windows"
38 #elif defined(_M_IA64)
39 #define SVN_BUILD_TARGET "ia64-microsoft-windows"
40 #elif defined( _M_IX86)
41 #define SVN_BUILD_TARGET "x86-microsoft-windows"
43 #error Unsupported build target.
46 /* The minimal version of Berkeley DB we want */
47 #define SVN_FS_WANT_DB_MAJOR 4
48 #define SVN_FS_WANT_DB_MINOR 0
49 #define SVN_FS_WANT_DB_PATCH 14
51 /* Path separator for local filesystem */
52 #define SVN_PATH_LOCAL_SEPARATOR '\\'
54 /* Name of system's null device */
55 #define SVN_NULL_DEVICE_NAME "nul"
57 /* Link fs fs library into the fs library */
58 #define SVN_LIBSVN_FS_LINKS_FS_FS
60 /* Link fs fs library into the fs library */
61 #define SVN_LIBSVN_FS_LINKS_FS_X
63 /* Link local repos access library to client */
64 #define SVN_LIBSVN_RA_LINKS_RA_LOCAL
66 /* Link pipe repos access library to client */
67 #define SVN_LIBSVN_RA_LINKS_RA_SVN
69 /* Defined to be the path to the installed binaries */
70 #define SVN_BINDIR "/usr/local/bin"
74 /* The default FS back-end type */
75 #define DEFAULT_FS_TYPE "fsfs"
77 /* The default HTTP library to use */
78 #define DEFAULT_HTTP_LIBRARY "serf"
80 /* Define to the Python/C API format character suitable for apr_int64_t */
82 #define SVN_APR_INT64_T_PYCFMT "l"
84 #define SVN_APR_INT64_T_PYCFMT "L"
87 /* Setup gettext macros */
90 #define PACKAGE_NAME "subversion"
93 #define SVN_LOCALE_RELATIVE_PATH "../share/locale"
96 #define _(x) dgettext(PACKAGE_NAME, x)
97 #define Q_(x1, x2, n) dngettext(PACKAGE_NAME, x1, x2, n)
98 #define HAVE_BIND_TEXTDOMAIN_CODESET
101 #define Q_(x1, x2, n) (((n) == 1) ? x1 : x2)
102 #define gettext(x) (x)
103 #define dgettext(domain, x) (x)
106 /* compiler hints as supported by MS VC */
107 #if defined(SVN_DEBUG)
108 # define SVN__FORCE_INLINE
109 # define SVN__PREVENT_INLINE
110 #elif defined(_MSC_VER)
111 # define SVN__FORCE_INLINE __forceinline
112 # define SVN__PREVENT_INLINE __declspec(noinline)
114 # define SVN__FORCE_INLINE APR_INLINE
115 # define SVN__PREVENT_INLINE
118 #define SVN__PREDICT_TRUE(x) (x)
119 #define SVN__PREDICT_FALSE(x) (x)
121 /* Macro used to specify that a variable is intentionally left unused.
122 Supresses compiler warnings about the variable being unused. */
123 #define SVN_UNUSED(v) ( (void)(v) )
125 #if defined(_MSC_VER) && _MSC_VER >= 1600
126 #define HAVE_STDINT_H
129 #if defined(_MSC_VER) && _MSC_VER >= 1800
130 #define HAVE_STDBOOL_H
133 #endif /* SVN_PRIVATE_CONFIG_HW */
135 /* Inclusion of Berkeley DB header */
138 #include <apu_want.h>