We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afab671 commit 43ee629Copy full SHA for 43ee629
mojoshader/mojoshader.h
@@ -28,7 +28,7 @@ extern "C" {
28
#endif
29
30
#ifndef DECLSPEC
31
-#ifdef _WIN32
+#if _MSC_VER && _DLL
32
#define DECLSPEC __declspec(dllexport)
33
#else
34
#define DECLSPEC
0 commit comments