Skip to content

Commit 6e56ce2

Browse files
committed
Don't export symbols when building from Unity
Signed-off-by: joce <joce@unity3d.com>
1 parent 7b0ec42 commit 6e56ce2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

CSSLayout/CSSMacros.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
#define CSS_EXTERN_C_END
1818
#endif
1919

20-
#ifdef _WINDLL
20+
// BEGIN_UNITY @joce 11-01-2016 DontExportSymbols
21+
//#ifdef _WINDLL
22+
#if defined(_WINDLL) && !defined(UNITY_EDITOR)
23+
// END_UNITY
2124
#define WIN_EXPORT __declspec(dllexport)
2225
#else
2326
#define WIN_EXPORT

0 commit comments

Comments
 (0)