| Server IP : 35.154.56.2 / Your IP : 216.73.217.116 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-0-189 6.8.0-1029-aws #31-Ubuntu SMP Wed Apr 23 18:20:04 UTC 2025 aarch64 User : ubuntu ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/include/OpenEXR/ |
Upload File : |
/*
** SPDX-License-Identifier: BSD-3-Clause
** Copyright Contributors to the OpenEXR Project.
*/
#ifndef OPENEXR_CONF_H
#define OPENEXR_CONF_H
#pragma once
#include "OpenEXRConfig.h"
/// \addtogroup ExportMacros
/// @{
// are we making a DLL under windows (might be msvc or mingw or others)
#if defined(OPENEXR_DLL)
// when building as a DLL for windows, typical dllexport/import case
// where we need to switch depending on whether we are compiling
// internally or not
# if defined(OPENEXRCORE_EXPORTS)
# define EXR_EXPORT __declspec(dllexport)
# else
# define EXR_EXPORT __declspec(dllimport)
# endif
#else
# define EXR_EXPORT OPENEXR_EXPORT
#endif
/*
* MSVC does have printf format checks, but it is not in the form of a
* function attribute, so just skip for non-GCC/clang builds
*/
#if defined(__GNUC__) || defined(__clang__)
# define EXR_PRINTF_FUNC_ATTRIBUTE __attribute__ ((format (printf, 3, 4)))
#else
# define EXR_PRINTF_FUNC_ATTRIBUTE
#endif
/// @}
#endif /* OPENEXR_CONF_H */