diff --git a/include/WinStd/Common.h b/include/WinStd/Common.h
index 9d96b354..99e3f26b 100644
--- a/include/WinStd/Common.h
+++ b/include/WinStd/Common.h
@@ -18,6 +18,20 @@
along with Setup. If not, see .
*/
+///
+/// Public function calling convention
+///
+#ifndef WINSTD_API
+#if defined(WINSTD_DLL)
+#define WINSTD_API __declspec(dllexport)
+#elif defined(WINSTD_DLLIMP)
+#define WINSTD_API __declspec(dllimport)
+#else
+#define WINSTD_API
+#endif
+#endif
+
+
#include
#include
@@ -117,18 +131,6 @@ namespace winstd
#include
-///
-/// Public function calling convention
-///
-#if defined(WINSTD_DLL)
-#define WINSTD_API __declspec(dllexport)
-#elif defined(WINSTD_DLLIMP)
-#define WINSTD_API __declspec(dllimport)
-#else
-#define WINSTD_API
-#endif
-
-
#ifndef WINSTD_STACK_BUFFER_BYTES
///
/// Size of the stack buffer in bytes used for initial system function call