Reverted last commit to handle this issue in a better way.
parent
b5f69e3734
commit
6ab9da94a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue