HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IlmThreadConfig.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: BSD-3-Clause
2 // Copyright (c) Contributors to the OpenEXR Project.
3 
4 // This file is auto-generated by the cmake configure step
5 
6 #ifndef INCLUDED_ILMTHREAD_CONFIG_H
7 #define INCLUDED_ILMTHREAD_CONFIG_H 1
8 
9 #pragma once
10 
11 //
12 //
13 // C++ namespace configuration / options
14 
15 // automated formatting does not handle the cmake tags well
16 // clang-format off
17 
18 #define ILMTHREAD_THREADING_ENABLED 1
19 #define ILMTHREAD_HAVE_POSIX_SEMAPHORES 1
20 
21 //
22 // Current internal library namespace name
23 //
24 #define ILMTHREAD_INTERNAL_NAMESPACE_CUSTOM 0
25 #define ILMTHREAD_INTERNAL_NAMESPACE IlmThread_3_2
26 
27 //
28 // Current public user namespace name
29 //
30 
31 #define ILMTHREAD_NAMESPACE_CUSTOM 0
32 #define ILMTHREAD_NAMESPACE IlmThread
33 
34 // clang-format on
35 
36 #if defined(__cplusplus) && (__cplusplus >= 201402L)
37 # define ILMTHREAD_DEPRECATED(msg) [[deprecated (msg)]]
38 #endif
39 
40 #ifndef ILMTHREAD_DEPRECATED
41 # ifdef _MSC_VER
42 # define ILMTHREAD_DEPRECATED(msg) __declspec(deprecated (msg))
43 # else
44 # define ILMTHREAD_DEPRECATED(msg) __attribute__ ((deprecated (msg)))
45 # endif
46 #endif
47 
48 #endif // INCLUDED_ILMTHREAD_CONFIG_H