summaryrefslogtreecommitdiff
path: root/RGFW.hs
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-08-18 07:11:00 +0200
committerandromeda <andromeda@lenovo>2026-08-18 07:11:00 +0200
commit89942b7bd1b9a95b69617431aa2117b3b73a4612 (patch)
tree3e0297530cc24854f31a2678b81c6bd76d801042 /RGFW.hs
parent55dede2c2b044cbf814ee815848e3d5759c93c77 (diff)
stash
Diffstat (limited to 'RGFW.hs')
-rw-r--r--RGFW.hs10
1 files changed, 6 insertions, 4 deletions
diff --git a/RGFW.hs b/RGFW.hs
index 95070b0..4104993 100644
--- a/RGFW.hs
+++ b/RGFW.hs
@@ -24,8 +24,10 @@ module RGFW where
import HsBindgen.Runtime.LibC
import HsBindgen.TH
-let
- conf = def{clang = def{extraIncludeDirs = [Dir "include"]}}
- confTH = def{verbosity = Verbosity Warning}
+let conf = def{
+ clang = def{
+ extraIncludeDirs = [Dir "include"],
+ defineMacros = [ "RGFW_VULKAN=" ]}}
+ confTH = def{verbosity = Verbosity Warning}
in
- withHsBindgen conf confTH $ hashInclude "RGFW.h" \ No newline at end of file
+ withHsBindgen conf confTH $ hashInclude "RGFW.h" \ No newline at end of file