aports/testing/polyglot/bool.patch
2026-01-23 20:12:53 +01:00

21 lines
438 B
Diff

diff -Naur a/util.h b/util.h
--- a/util.h 2025-12-07 19:18:10.017809733 -0500
+++ b/util.h 2025-12-07 19:19:58.133502989 -0500
@@ -6,6 +6,7 @@
// includes
+#include <stdbool.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/timeb.h>
@@ -110,8 +111,6 @@
typedef signed int sint32;
typedef unsigned int uint32;
-typedef int bool;
-
#ifdef _MSC_VER
typedef signed __int64 sint64;
typedef unsigned __int64 uint64;