config.h 497 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef EXPAT_CONFIG_H
  2. #define EXPAT_CONFIG_H
  3. #ifdef _MSC_VER
  4. # include <xml/details/config-vc.h>
  5. #else
  6. # include <xml/details/config.h>
  7. #endif
  8. #define BYTEORDER LIBSTUDXML_BYTEORDER
  9. #define XML_NS 1
  10. #define XML_DTD 1
  11. #define XML_CONTEXT_BYTES 1024
  12. #define UNUSED(x) (void)x;
  13. #ifdef _WIN32
  14. /* Windows
  15. *
  16. */
  17. #define WIN32_LEAN_AND_MEAN
  18. #include <windows.h>
  19. #undef WIN32_LEAN_AND_MEAN
  20. #define HAVE_MEMMOVE 1
  21. #else
  22. /* POSIX
  23. *
  24. */
  25. #define HAVE_MEMMOVE 1
  26. #endif
  27. #endif /* EXPAT_CONFIG_H */