From 9dfc9511934bb45295c3d62dfb643ef32f781d79 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 27 Aug 2018 14:21:44 +1000 Subject: [PATCH] tools/spec: override the windows header with our own version --- tools/spec.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/spec.py b/tools/spec.py index 059ee5a..aaff279 100644 --- a/tools/spec.py +++ b/tools/spec.py @@ -675,6 +675,7 @@ if __name__ == '__main__': target = "parse_%s" % node.tag globals()[target](reg, node) + reg.types['windows.h'].name = 'cruft/util/win32/windows.hpp' reg.types['void*'] = placeholder('void*') reg.types['nullptr'] = placeholder('nullptr') reg.types['VkEnum'] = aliastype('VkEnum', 'int32_t')