From 84f165646e3af38cbc61d0e2d2f3c0d00ecb9751 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 6 Aug 2024 12:15:39 -0600 Subject: [PATCH] [test] Move code around --- test/api/hb-subset-test.h | 12 ------------ test/api/hb-test.h | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/api/hb-subset-test.h b/test/api/hb-subset-test.h index 61a926079..8f67a3c75 100644 --- a/test/api/hb-subset-test.h +++ b/test/api/hb-subset-test.h @@ -32,18 +32,6 @@ #include "hb-test.h" #include "hb-subset.h" -#ifdef HAVE_STDBOOL_H -# include -#else -typedef short bool; -# ifndef true -# define true 1 -# endif -# ifndef false -# define false 0 -# endif -#endif - HB_BEGIN_DECLS diff --git a/test/api/hb-test.h b/test/api/hb-test.h index e969ea8aa..25d07ce0a 100644 --- a/test/api/hb-test.h +++ b/test/api/hb-test.h @@ -35,6 +35,18 @@ #include #include +#ifdef HAVE_STDBOOL_H +# include +#else +typedef short bool; +# ifndef true +# define true 1 +# endif +# ifndef false +# define false 0 +# endif +#endif + HB_BEGIN_DECLS /* Just in case */