Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
afea72f4
Commit
afea72f4
authored
Nov 14, 2016
by
Erika Thorsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include stdint.h instead of typedef types if Visual Studio 2010 or newer.
parent
8723dc73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
skeletons/asn_system.h
skeletons/asn_system.h
+4
-0
No files found.
skeletons/asn_system.h
View file @
afea72f4
...
...
@@ -47,12 +47,16 @@
#endif
#ifndef ASSUMESTDTYPES
/* Standard types have been defined elsewhere */
#define ssize_t SSIZE_T
#if _MSC_VER < 1600
typedef
char
int8_t
;
typedef
short
int16_t
;
typedef
int
int32_t
;
typedef
unsigned
char
uint8_t
;
typedef
unsigned
short
uint16_t
;
typedef
unsigned
int
uint32_t
;
#else
/* _MSC_VER >= 1600 */
#include <stdint.h>
#endif
/* _MSC_VER < 1600 */
#endif
/* ASSUMESTDTYPES */
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment