add header guard to myinttypes.h

test2
Nguyen Anh Quynh 10 years ago
parent 5c5d570c8d
commit 7de9d777c0
  1. 5
      myinttypes.h

@ -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

Loading…
Cancel
Save