summaryrefslogtreecommitdiff
path: root/RGFW.hs
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-08-18 14:44:09 +0200
committerandromeda <andromeda@lenovo>2026-08-18 14:44:09 +0200
commita384c08466d343033b390d07c416414745a5adb6 (patch)
tree41826aa7951c02bfbb9d4d07754bf9415e4eac06 /RGFW.hs
parent89942b7bd1b9a95b69617431aa2117b3b73a4612 (diff)
fix comptime errors
Diffstat (limited to 'RGFW.hs')
-rw-r--r--RGFW.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/RGFW.hs b/RGFW.hs
index 4104993..29a5c5f 100644
--- a/RGFW.hs
+++ b/RGFW.hs
@@ -27,7 +27,8 @@ import HsBindgen.TH
let conf = def{
clang = def{
extraIncludeDirs = [Dir "include"],
- defineMacros = [ "RGFW_VULKAN=" ]}}
+ defineMacros = [ "RGFW_VULKAN=" ]},
+ programSlicing = EnableProgramSlicing}
confTH = def{verbosity = Verbosity Warning}
in
withHsBindgen conf confTH $ hashInclude "RGFW.h" \ No newline at end of file