add header guard to myinttypes.h

This commit is contained in:
Nguyen Anh Quynh 2015-06-08 23:32:33 +08:00
parent 5c5d570c8d
commit 7de9d777c0

View File

@ -1,6 +1,9 @@
/* Capstone Disassembly Engine */
/* By Axel Souchet, 2014 */
#ifndef CS_MYINTTYPES_H
#define CS_MYINTTYPES_H
#if defined(CAPSTONE_HAS_OSXKERNEL) || (defined(_MSC_VER) && _MSC_VER <= 1700)
// this system does not have inttypes.h
@ -58,3 +61,5 @@ typedef unsigned long long uint64_t;
#else // this system has inttypes.h by default
#include <inttypes.h>
#endif
#endif