Skip to content

Commit

Permalink
Fix symbol visibility on clang-cl
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Jan 12, 2025
1 parent c84cf4a commit 2360a87
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/Zycore/Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
#if defined(__clang__)
# define ZYAN_CLANG
# define ZYAN_GNUC
# if defined(_MSC_VER)
# define ZYAN_CLANG_CL
# endif
#elif defined(__ICC) || defined(__INTEL_COMPILER)
# define ZYAN_ICC
#elif defined(__GNUC__) || defined(__GNUG__)
Expand Down Expand Up @@ -190,7 +193,7 @@
/* Generic DLL import/export helpers */
/* ============================================================================================== */

#if defined(ZYAN_MSVC)
#if defined(ZYAN_MSVC) || defined(ZYAN_CLANG_CL)
# define ZYAN_DLLEXPORT __declspec(dllexport)
# define ZYAN_DLLIMPORT __declspec(dllimport)
#else
Expand Down

0 comments on commit 2360a87

Please sign in to comment.