config.h 742 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: LGPL-2.1 OR BSD-3-Clause */
  2. //------------------------------------------------------------------------------
  3. // File: config.h
  4. //
  5. // Copyright (c) 2006, Chips & Media. All rights reserved.
  6. // This file should be modified by some developers of C&M according to product version.
  7. //------------------------------------------------------------------------------
  8. #ifndef __CONFIG_H__
  9. #define __CONFIG_H__
  10. #if defined(_WIN32) || defined(__WIN32__) || defined(_WIN64) || defined(WIN32) || defined(__MINGW32__)
  11. # define PLATFORM_WIN32
  12. #elif defined(linux) || defined(__linux) || defined(ANDROID)
  13. # define PLATFORM_LINUX
  14. #else
  15. # define PLATFORM_NON_OS
  16. #endif
  17. #define API_VERSION 0x125
  18. #endif /* __CONFIG_H__ */