Commit Graph

12 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
fe5ecc6eba fix some warnings on VS2010 on redefining INTxx_MIN, INTxx_MAX 2017-03-06 14:40:30 +08:00
Ben Cheney
7efaf351d2 Fix build under VS2012 (i.e. MSC_VER = 1700)
cstool.c currently imports inttypes.h, which breaks
building on older Visual Studio versions (I've been
testing 2012). This commit removes the explicit include
of inttypes.h, which is already handled in platform.h
(which is included by capstone.h). A define for the
function strtoull (used by cstool) has also been added
to platform.h for the case where MSC_VER <= 1700.

I don't know what effect this will have on OS X builds
as I'm unable to test on that platform.

Also, cstool.c doesn't need to include stdio.h
because it's already included by capstone.h.
2016-12-21 13:12:32 +10:30
tandasat
11f254250c edit documents and comments 2016-05-14 16:04:28 -07:00
tandasat
3b6c036f7d add *_MIN *_MAX defines for system has no stdint.h 2016-04-23 15:54:24 -07:00
tandasat
6ffad86198 move contents of myinttype.h to platform.h 2016-04-11 08:01:09 -07:00
tandasat
cd124deb92 Supported a WDK project 2016-03-31 18:02:16 -07:00
pancake
e72de39fb6 Fix build for cygwin 2015-09-23 00:16:34 +08:00
Nguyen Anh Quynh
171eb7523d stdbool.h is only available in C99-supported compiler 2014-05-15 21:01:08 +08:00
Nguyen Anh Quynh
e76abf47e1 move prototype of strcasecmp for MSVC into utils.h, and remove platform.h 2014-05-15 15:02:52 +08:00
Nguyen Anh Quynh
e079f10a80 remove more redundant code in platform.h 2014-05-15 14:34:16 +08:00
Nguyen Anh Quynh
8d8cd79591 remove redundant code in platform.h 2014-05-15 14:26:31 +08:00
Nguyen Anh Quynh
1d2e69b869 msvc: remove headers/ directory & replace it with include/platform.h 2014-05-15 13:56:54 +08:00