lzham_config.h 470 B

1234567891011121314151617181920212223
  1. // File: lzham_config.h
  2. // See Copyright Notice and license at the end of include/lzham.h
  3. #pragma once
  4. #if defined(_DEBUG) || defined(DEBUG)
  5. #define LZHAM_BUILD_DEBUG
  6. #ifndef DEBUG
  7. #define DEBUG
  8. #endif
  9. #else
  10. #define LZHAM_BUILD_RELEASE
  11. #ifndef NDEBUG
  12. #define NDEBUG
  13. #endif
  14. #ifdef DEBUG
  15. #error DEBUG cannot be defined in LZHAM_BUILD_RELEASE
  16. #endif
  17. #endif
  18. #define LZHAM_BUFFERED_PRINTF 0
  19. #define LZHAM_PERF_SECTIONS 0