From 89942b7bd1b9a95b69617431aa2117b3b73a4612 Mon Sep 17 00:00:00 2001 From: andromeda Date: Tue, 18 Aug 2026 07:11:00 +0200 Subject: stash --- RGFW.hs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'RGFW.hs') 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 -- cgit v1.3.1