avoid using stdbool.h to support compilers without C99 support

This commit is contained in:
Nguyen Anh Quynh 2014-05-15 21:40:24 +08:00
parent e2d941672b
commit c5cad6cab3
10 changed files with 3 additions and 12 deletions

View File

@ -20,7 +20,6 @@
#define CS_MCINST_H
#include <stdint.h>
#include <stdbool.h>
#include "include/capstone.h"

View File

@ -18,8 +18,8 @@
#ifndef CS_LLVM_MC_MCINSTRDESC_H
#define CS_LLVM_MC_MCINSTRDESC_H
#include <stdbool.h>
#include <stdint.h>
#include "include/platform.h"
//===----------------------------------------------------------------------===//
// Machine Operand Flags and Description

View File

@ -19,8 +19,8 @@
#ifndef CS_LLVM_MC_MCREGISTERINFO_H
#define CS_LLVM_MC_MCREGISTERINFO_H
#include <stdbool.h>
#include <stdint.h>
#include "include/platform.h"
/// An unsigned integer type large enough to represent all physical registers,
/// but not necessarily virtual registers.

View File

@ -22,7 +22,6 @@
#include <ctype.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
/// Instances of this class can perform bidirectional mapping from random

View File

@ -17,8 +17,7 @@
#ifndef CS_LLVM_TARGET_ARM_ARMADDRESSINGMODES_H
#define CS_LLVM_TARGET_ARM_ARMADDRESSINGMODES_H
#include <stdbool.h>
#include "../../include/platform.h"
#include "../../MathExtras.h"
/// ARM_AM - ARM Addressing Mode Stuff

View File

@ -17,7 +17,6 @@
#ifdef CAPSTONE_HAS_ARM
#include <stdio.h> // DEBUG
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>

View File

@ -19,8 +19,6 @@
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <inttypes.h>
#include "../../utils.h"

View File

@ -9,7 +9,6 @@
/* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
#include <stdbool.h>
#include "../../MCInst.h"
#include "../../LEB128.h"

View File

@ -78,7 +78,6 @@
#define CS_X86_DISASSEMBLER_H
#include <stdint.h>
#include <stdbool.h>
#include "../../include/capstone.h"

View File

@ -19,7 +19,6 @@
#include <ctype.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>