libetpan - fdik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
744 B

11 years ago
11 years ago
  1. @ifndef LIBETPAN_CONFIG_H
  2. @define LIBETPAN_CONFIG_H
  3. #ifndef CONFIG_H
  4. #define CONFIG_H
  5. #include "config.h"
  6. #endif
  7. @if WIN32
  8. @ define MMAP_UNAVAILABLE
  9. @endif
  10. @ifdef _MSC_VER
  11. @ define inline __inline
  12. @endif
  13. #ifdef HAVE_LIMITS_H
  14. @include <limits.h>
  15. #endif
  16. @ifndef PATH_MAX
  17. @define PATH_MAX 4096
  18. @endif
  19. #ifdef HAVE_SYS_PARAM_H
  20. /* support for ARM platforms with a 2.95.3 arm-gcc suite */
  21. @include <sys/param.h>
  22. #endif
  23. #if HAVE_INTTYPES_H
  24. @include <inttypes.h>
  25. #endif
  26. @define MAIL_DIR_SEPARATOR '/'
  27. @define MAIL_DIR_SEPARATOR_S "/"
  28. @ifdef _MSC_VER
  29. @ ifdef LIBETPAN_DLL
  30. @ define LIBETPAN_EXPORT __declspec(dllexport)
  31. @ else
  32. @ define LIBETPAN_EXPORT __declspec(dllimport)
  33. @ endif
  34. @else
  35. @ define LIBETPAN_EXPORT
  36. @endif
  37. @endif