diff options
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/runtime.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h index 699770d..da31e11 100644 --- a/libgo/runtime/runtime.h +++ b/libgo/runtime/runtime.h @@ -7,6 +7,7 @@ #include "go-assert.h" #include <complex.h> #include <signal.h> +#include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> @@ -51,7 +52,6 @@ typedef uintptr uintreg; /* Defined types. */ -typedef _Bool bool; typedef uint8 byte; typedef struct g G; typedef struct mutex Lock; @@ -116,11 +116,6 @@ extern G* runtime_g(void) enum { - true = 1, - false = 0, -}; -enum -{ PtrSize = sizeof(void*), }; enum |