HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: //usr/include/Imath/PyImathExport.h
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
//

// clang-format off

#ifndef PYIMATHEXPORT_H
#define PYIMATHEXPORT_H

#if defined(IMATH_DLL)
    #if defined(PLATFORM_VISIBILITY_AVAILABLE)
        #define PYIMATH_EXPORT __attribute__((visibility("default")))
        #define PYIMATH_EXPORT __attribute__((visibility("default")))
    #elif defined(_MSC_VER)
        #if defined(PYIMATH_BUILD)
            #define PYIMATH_EXPORT __declspec(dllexport)
        #else
            #define PYIMATH_EXPORT __declspec(dllimport)
        #endif
    #else
        #define PYIMATH_EXPORT
    #endif
#else
    #define PYIMATH_EXPORT
#endif

#endif // #ifndef PYIMATHEXPORT_H