Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
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
fmt
Commits
0629d76b
Commit
0629d76b
authored
Dec 18, 2015
by
vitaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fallback to sized integer types on MSVC if stdint.h is not available
parent
016714c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
format.h
format.h
+8
-8
No files found.
format.h
View file @
0629d76b
...
...
@@ -28,14 +28,6 @@
#ifndef FMT_FORMAT_H_
#define FMT_FORMAT_H_
#if defined _MSC_VER && _MSC_VER <= 1500
typedef
unsigned
int
uint32_t
;
typedef
unsigned
long
long
uint64_t
;
typedef
long
long
intmax_t
;
#else
#include <stdint.h>
#endif
#include <cassert>
#include <cmath>
#include <cstdio>
...
...
@@ -64,6 +56,14 @@ typedef long long intmax_t;
# include <iterator>
#endif
#if defined(_MSC_VER) && _MSC_VER <= 1500
typedef
unsigned
__int32
uint32_t
;
typedef
unsigned
__int64
uint64_t
;
typedef
__int64
intmax_t
;
#else
#include <stdint.h>
#endif
#if !defined(FMT_HEADER_ONLY) && defined(_WIN32)
# ifdef FMT_EXPORT
# define FMT_API __declspec(dllexport)
...
...
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