aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows
diff options
context:
space:
mode:
Diffstat (limited to 'core/sys/windows')
-rw-r--r--core/sys/windows/ole32.odin2
-rw-r--r--core/sys/windows/types.odin2
2 files changed, 4 insertions, 0 deletions
diff --git a/core/sys/windows/ole32.odin b/core/sys/windows/ole32.odin
index d314eb343..f93ecc820 100644
--- a/core/sys/windows/ole32.odin
+++ b/core/sys/windows/ole32.odin
@@ -1,5 +1,7 @@
package sys_windows
+// Don't add a `#+build windows` guard to this file. It's used for `dxgi` on non-Windows platforms, for example.
+
foreign import Ole32 "system:Ole32.lib"
//objbase.h
diff --git a/core/sys/windows/types.odin b/core/sys/windows/types.odin
index b5621f621..54ebd9481 100644
--- a/core/sys/windows/types.odin
+++ b/core/sys/windows/types.odin
@@ -1,5 +1,7 @@
package sys_windows
+// Don't add a `#+build windows` guard to this file. It's used for `dxgi` on non-Windows platforms, for example.
+
import "core:c"
c_char :: c.char