aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-14 13:17:28 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-14 13:17:28 +0100
commit4c9466e3ea6943911971c62dd57c59bba886cfef (patch)
treeaa71db351a4d7d8c1b4a0408ce053bb0dc2d9dff
parent1d38b715c3aa7fc066ae3c0d1f923b61d5c4003e (diff)
Add comment to ole32.odin and types.odin.
-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