Reverted last commit to handle this issue in a better way.

pull/5693/head
mkuritsu 2024-08-02 02:34:20 +01:00
parent b5f69e3734
commit 6ab9da94a5
1 changed files with 2 additions and 2 deletions

View File

@ -31,11 +31,11 @@
#pragma once
#if defined(_WIN32) && defined(ASSIMP_BUILD_DLL_EXPORT)
#if defined(_WIN32)
# pragma warning( disable: 4273)
# define P2T_COMPILER_DLLEXPORT __declspec(dllexport)
# define P2T_COMPILER_DLLIMPORT __declspec(dllimport)
#elif defined(__GNUC__) && defined(ASSIMP_BUILD_DLL_EXPORT)
#elif defined(__GNUC__)
# define P2T_COMPILER_DLLEXPORT __attribute__ ((visibility ("default")))
# define P2T_COMPILER_DLLIMPORT __attribute__ ((visibility ("default")))
#else