apu_config.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* Licensed to the Apache Software Foundation (ASF) under one or more
  2. * contributor license agreements. See the NOTICE file distributed with
  3. * this work for additional information regarding copyright ownership.
  4. * The ASF licenses this file to You under the Apache License, Version 2.0
  5. * (the "License"); you may not use this file except in compliance with
  6. * the License. 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. /*
  17. * Note: This is a Windows specific version of apu_config.hw. It is copied
  18. * as apu_config.h at the start of a Windows build.
  19. */
  20. #ifdef WIN32
  21. #ifndef APU_CONFIG_H
  22. #define APU_CONFIG_H
  23. /* Compile win32 with DSO support for .dll builds */
  24. #ifdef APU_DECLARE_STATIC
  25. #define APU_DSO_BUILD 0
  26. #else
  27. #define APU_DSO_BUILD 1
  28. #endif
  29. /* Presume a standard, modern (5.x) mysql sdk/
  30. #define HAVE_MY_GLOBAL_H 1
  31. /* my_sys.h is broken on VC/Win32, and apparently not required */
  32. /* #undef HAVE_MY_SYS_H 0 */
  33. /*
  34. * Windows does not have GDBM, and we always use the bundled (new) Expat
  35. */
  36. /* Define if you have the gdbm library (-lgdbm). */
  37. /* #undef HAVE_LIBGDBM */
  38. /* define if Expat 1.0 or 1.1 was found */
  39. /* #undef APR_HAVE_OLD_EXPAT */
  40. #endif /* APU_CONFIG_H */
  41. #endif /* WIN32 */