From 4d88d18feb5be1551346ef4f2b41ef4d4ab43039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Thu, 3 Jan 2019 15:01:52 +0100 Subject: [PATCH] Use stdbool.h instead typedef for bool https://bugs.mysql.com/bug.php?id=93475 This requires C99 support. --- include/mysqlx/xapi.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/mysqlx/xapi.h b/include/mysqlx/xapi.h index 9f579316..639a68e6 100644 --- a/include/mysqlx/xapi.h +++ b/include/mysqlx/xapi.h @@ -82,6 +82,7 @@ extern "C" { #include #include +#include /** @addtogroup xapi @@ -94,10 +95,6 @@ extern "C" { ///////////////////// COMMON TYPE DECLARATIONS, REMOVE LATER -#ifndef __cplusplus - typedef unsigned char bool; -#endif - typedef char object_id[16]; typedef object_id* MYSQLX_GUID;