Skip to content

Commit 43ee629

Browse files
committed
Reapply Harry's fix
1 parent afab671 commit 43ee629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mojoshader/mojoshader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C" {
2828
#endif
2929

3030
#ifndef DECLSPEC
31-
#ifdef _WIN32
31+
#if _MSC_VER && _DLL
3232
#define DECLSPEC __declspec(dllexport)
3333
#else
3434
#define DECLSPEC

0 commit comments

Comments
 (0)