1/*
2 * svn_private_config.hw : Template for svn_private_config.h on Win32.
3 *
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
12 *
13 *      http://www.apache.org/licenses/LICENSE-2.0
14 *
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
20 *    under the License.
21 * ====================================================================
22 */
23
24/* ==================================================================== */
25
26
27
28
29#ifndef SVN_PRIVATE_CONFIG_HW
30#define SVN_PRIVATE_CONFIG_HW
31
32
33/* Define to a Windows-specific equivalent of config.guess output */
34#define SVN_BUILD_HOST "x86-microsoft-windows"
35
36#if defined(_M_X64)
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"
42#else
43#error Unsupported build target.
44#endif
45
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
50
51/* Path separator for local filesystem */
52#define SVN_PATH_LOCAL_SEPARATOR '\\'
53
54/* Name of system's null device */
55#define SVN_NULL_DEVICE_NAME "nul"
56
57/* Link fs fs library into the fs library */
58#define SVN_LIBSVN_FS_LINKS_FS_FS
59
60/* Link fs fs library into the fs library */
61#define SVN_LIBSVN_FS_LINKS_FS_X
62
63/* Link local repos access library to client */
64#define SVN_LIBSVN_RA_LINKS_RA_LOCAL
65
66/* Link pipe repos access library to client */
67#define SVN_LIBSVN_RA_LINKS_RA_SVN
68
69/* Defined to be the path to the installed binaries */
70#define SVN_BINDIR "/usr/local/bin"
71
72
73
74/* The default FS back-end type */
75#define DEFAULT_FS_TYPE "fsfs"
76
77/* The default HTTP library to use */
78#define DEFAULT_HTTP_LIBRARY "serf"
79
80/* Define to the Python/C API format character suitable for apr_int64_t */
81#if defined(_WIN64)
82#define SVN_APR_INT64_T_PYCFMT "l"
83#elif defined(_WIN32)
84#define SVN_APR_INT64_T_PYCFMT "L"
85#endif
86
87/* Setup gettext macros */
88#define N_(x) x
89#define U_(x) x
90#define PACKAGE_NAME "subversion"
91
92#ifdef ENABLE_NLS
93#define SVN_LOCALE_RELATIVE_PATH "../share/locale"
94#include <locale.h>
95#include <libintl.h>
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
99#else
100#define _(x) (x)
101#define Q_(x1, x2, n) (((n) == 1) ? x1 : x2)
102#define gettext(x) (x)
103#define dgettext(domain, x) (x)
104#endif
105
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)
113#else
114# define SVN__FORCE_INLINE APR_INLINE
115# define SVN__PREVENT_INLINE
116#endif
117
118#define SVN__PREDICT_TRUE(x)  (x)
119#define SVN__PREDICT_FALSE(x)  (x)
120
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) )
124
125#if defined(_MSC_VER) && _MSC_VER >= 1600
126#define HAVE_STDINT_H
127#endif
128
129#if defined(_MSC_VER) && _MSC_VER >= 1800
130#define HAVE_STDBOOL_H
131#endif
132
133#endif /* SVN_PRIVATE_CONFIG_HW */
134
135/* Inclusion of Berkeley DB header */
136#ifdef SVN_WANT_BDB
137#define APU_WANT_DB
138#include <apu_want.h>
139#endif
140