Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Keystone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Third Party Mirrors
Keystone
Commits
26423a77
Commit
26423a77
authored
8 years ago
by
Nguyen Anh Quynh
Browse files
Options
Downloads
Patches
Plain Diff
del include/keystone/platform.h
parent
368893f6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/keystone/keystone.h
+1
-2
1 addition, 2 deletions
include/keystone/keystone.h
include/keystone/platform.h
+0
-28
0 additions, 28 deletions
include/keystone/platform.h
with
1 addition
and
30 deletions
include/keystone/keystone.h
+
1
−
2
View file @
26423a77
...
...
@@ -11,8 +11,7 @@ extern "C" {
#include
<stdint.h>
#include
<stdlib.h>
#include
<stdio.h>
#include
"platform.h"
#include
<stdbool.h>
#ifdef _MSC_VER
#pragma warning(disable:4201)
...
...
This diff is collapsed.
Click to expand it.
include/keystone/platform.h
deleted
100644 → 0
+
0
−
28
View file @
368893f6
/* Keystone Assembler Engine */
/* By Axel Souchet & Nguyen Anh Quynh, 2014 */
// handle C99 issue (for pre-2013 VisualStudio)
#ifndef KEYSTONE_PLATFORM_H
#define KEYSTONE_PLATFORM_H
#if !defined(__MINGW32__) && !defined(__MINGW64__) && (defined (WIN32) || defined (WIN64) || defined (_WIN32) || defined (_WIN64))
// MSVC
// stdbool.h
#if (_MSC_VER < 1800)
#ifndef __cplusplus
typedef
unsigned
char
bool
;
#define false 0
#define true 1
#endif
#else
// VisualStudio 2013+ -> C99 is supported
#include
<stdbool.h>
#endif
#else // not MSVC -> C99 is supported
#include
<stdbool.h>
#endif
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment