Skip to content

Commit

Permalink
Supported a WDK project
Browse files Browse the repository at this point in the history
  • Loading branch information
tandasat committed Apr 1, 2016
1 parent e78722b commit 743bf53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions myinttypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#ifndef CS_MYINTTYPES_H
#define CS_MYINTTYPES_H

#if defined(CAPSTONE_HAS_OSXKERNEL) || (defined(_MSC_VER) && _MSC_VER <= 1700)
#if defined(CAPSTONE_HAS_OSXKERNEL) || (defined(_MSC_VER) && (_MSC_VER <= 1700 || defined(_KERNEL_MODE)))
// this system does not have inttypes.h

#if defined(_MSC_VER) && _MSC_VER <= 1700
#if defined(_MSC_VER) && (_MSC_VER <= 1700 || defined(_KERNEL_MODE))
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
Expand Down

0 comments on commit 743bf53

Please sign in to comment.