vcpkg/ports/libice/replace_macros.patch

16 lines
377 B
Diff
Raw Normal View History

diff --git a/include/X11/ICE/ICElib.h b/include/X11/ICE/ICElib.h
index 402cbc8..506c18b 100644
--- a/include/X11/ICE/ICElib.h
+++ b/include/X11/ICE/ICElib.h
@@ -32,8 +32,8 @@ Author: Ralph Mor, X Consortium
#include <X11/ICE/ICE.h>
#include <X11/Xfuncproto.h>
-#define Bool int
-#define Status int
+typedef int Bool;
+typedef int Status;
#define True 1
#define False 0