IlmThreadConfig.h 998 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // SPDX-License-Identifier: BSD-3-Clause
  2. // Copyright (c) Contributors to the OpenEXR Project.
  3. // This file is auto-generated by the cmake configure step
  4. #ifndef INCLUDED_ILMTHREAD_CONFIG_H
  5. #define INCLUDED_ILMTHREAD_CONFIG_H 1
  6. #pragma once
  7. //
  8. //
  9. // C++ namespace configuration / options
  10. #define ILMTHREAD_THREADING_ENABLED 1
  11. #define ILMTHREAD_HAVE_POSIX_SEMAPHORES 0
  12. //
  13. // Current internal library namespace name
  14. //
  15. #define ILMTHREAD_INTERNAL_NAMESPACE_CUSTOM 0
  16. #define ILMTHREAD_INTERNAL_NAMESPACE IlmThread_3_1
  17. //
  18. // Current public user namespace name
  19. //
  20. #define ILMTHREAD_NAMESPACE_CUSTOM 0
  21. #define ILMTHREAD_NAMESPACE IlmThread
  22. #if defined(__cplusplus) && (__cplusplus >= 201402L)
  23. # define ILMTHREAD_DEPRECATED(msg) [[deprecated(msg)]]
  24. #endif
  25. #ifndef ILMTHREAD_DEPRECATED
  26. # ifdef _MSC_VER
  27. # define ILMTHREAD_DEPRECATED(msg) __declspec(deprecated(msg))
  28. # else
  29. # define ILMTHREAD_DEPRECATED(msg) __attribute__((deprecated(msg)))
  30. # endif
  31. #endif
  32. #endif // INCLUDED_ILMTHREAD_CONFIG_H