forked from MTJailed/XNU-Kernel-Fuzzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
15,212 additions
and
45 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* Capstone Disassembly Engine */ | ||
/* By Axel Souchet & Nguyen Anh Quynh, 2014 */ | ||
|
||
// handle C99 issue (for pre-2013 VisualStudio) | ||
#ifndef CAPSTONE_PLATFORM_H | ||
#define CAPSTONE_PLATFORM_H | ||
|
||
#if !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__MINGW64__) && (defined (WIN32) || defined (WIN64) || defined (_WIN32) || defined (_WIN64)) | ||
// MSVC | ||
|
||
// stdbool.h | ||
#if (_MSC_VER < 1800) | ||
#ifndef __cplusplus | ||
typedef unsigned char bool; | ||
#define false 0 | ||
#define true 1 | ||
#endif | ||
|
||
#else | ||
// VisualStudio 2013+ -> C99 is supported | ||
#include <stdbool.h> | ||
#endif | ||
|
||
#else // not MSVC -> C99 is supported | ||
#include <stdbool.h> | ||
#endif | ||
|
||
#endif |
Oops, something went wrong.