mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-13 10:44:54 +00:00
remove more redundant code in platform.h
This commit is contained in:
parent
8d8cd79591
commit
e079f10a80
@ -8,23 +8,6 @@
|
||||
#if !defined(__MINGW32__) && !defined(__MINGW64__) // this is not MingW
|
||||
#if defined (WIN32) || defined (WIN64) || defined (_WIN32) || defined (_WIN64)
|
||||
|
||||
// inttypes.h
|
||||
typedef signed char int8_t;
|
||||
typedef signed short int16_t;
|
||||
typedef signed int int32_t;
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef unsigned int uint32_t;
|
||||
typedef signed long long int64_t;
|
||||
typedef unsigned long long uint64_t;
|
||||
|
||||
// stdbool.h
|
||||
#ifndef __cplusplus
|
||||
// typedef unsigned char bool;
|
||||
#define false 0
|
||||
#define true 1
|
||||
#endif
|
||||
|
||||
|
||||
// string.h
|
||||
#define strcasecmp _stricmp
|
||||
|
Loading…
x
Reference in New Issue
Block a user