apu_config.hw revision 285830
1215976Sjmallett/* Licensed to the Apache Software Foundation (ASF) under one or more
2232812Sjmallett * contributor license agreements.  See the NOTICE file distributed with
3215976Sjmallett * this work for additional information regarding copyright ownership.
4215976Sjmallett * The ASF licenses this file to You under the Apache License, Version 2.0
5215976Sjmallett * (the "License"); you may not use this file except in compliance with
6215976Sjmallett * the License.  You may obtain a copy of the License at
7215976Sjmallett *
8215976Sjmallett *     http://www.apache.org/licenses/LICENSE-2.0
9215976Sjmallett *
10215976Sjmallett * Unless required by applicable law or agreed to in writing, software
11215976Sjmallett * distributed under the License is distributed on an "AS IS" BASIS,
12215976Sjmallett * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13215976Sjmallett * See the License for the specific language governing permissions and
14215976Sjmallett * limitations under the License.
15215976Sjmallett */
16215976Sjmallett
17215976Sjmallett/* 
18232812Sjmallett * Note: This is a Windows specific version of apu_config.hw. It is copied
19215976Sjmallett * as apu_config.h at the start of a Windows build.
20215976Sjmallett */
21215976Sjmallett
22215976Sjmallett#ifdef WIN32
23215976Sjmallett
24215976Sjmallett#ifndef APU_CONFIG_H
25215976Sjmallett#define APU_CONFIG_H
26215976Sjmallett
27215976Sjmallett/* Compile win32 with DSO support for .dll builds */
28215976Sjmallett#ifdef APU_DECLARE_STATIC
29232812Sjmallett#define APU_DSO_BUILD           0
30215976Sjmallett#else
31215976Sjmallett#define APU_DSO_BUILD           1
32215976Sjmallett#endif
33215976Sjmallett
34215976Sjmallett/* Presume a standard, modern (5.x) mysql sdk/
35215976Sjmallett#define HAVE_MY_GLOBAL_H        1
36215976Sjmallett
37215976Sjmallett/* my_sys.h is broken on VC/Win32, and apparently not required */
38215976Sjmallett/* #undef HAVE_MY_SYS_H           0 */
39215976Sjmallett
40215976Sjmallett/*
41215976Sjmallett * Windows does not have GDBM, and we always use the bundled (new) Expat
42215976Sjmallett */
43215976Sjmallett
44215976Sjmallett/* Define if you have the gdbm library (-lgdbm).  */
45215976Sjmallett/* #undef HAVE_LIBGDBM */
46215976Sjmallett
47215976Sjmallett/* define if Expat 1.0 or 1.1 was found */
48215976Sjmallett/* #undef APR_HAVE_OLD_EXPAT */
49215976Sjmallett
50215976Sjmallett
51215976Sjmallett#endif /* APU_CONFIG_H */
52232812Sjmallett#endif /* WIN32 */
53232812Sjmallett