mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8339714: Delete tedious bool type define
Reviewed-by: jwaters, dholmes
This commit is contained in:
parent
07643237d4
commit
a6faf8247b
@ -42,14 +42,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if (__STDC_VERSION__ >= 199901L)
|
||||
#include <stdbool.h>
|
||||
#else
|
||||
#define bool int
|
||||
#define true 1
|
||||
#define false 0
|
||||
#endif
|
||||
#include <stdbool.h>
|
||||
|
||||
#define MAX_SIGNALS NSIG
|
||||
|
||||
|
||||
@ -61,14 +61,10 @@
|
||||
|
||||
#include <bfd.h>
|
||||
#include <dis-asm.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "hsdis.h"
|
||||
|
||||
#ifndef bool
|
||||
#define bool int
|
||||
#define true 1
|
||||
#define false 0
|
||||
#endif /*bool*/
|
||||
|
||||
/* short names for stuff in hsdis.h */
|
||||
typedef decode_instructions_event_callback_ftype event_callback_t;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user