summaryrefslogtreecommitdiff
path: root/RGFW.hs
diff options
context:
space:
mode:
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