Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
persistent
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
persistent
Commits
101d1eda
Commit
101d1eda
authored
Apr 25, 2019
by
Marius Gedminas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oh, actually it was my mistake
PRIx64 is defined in <inttypes.h>, not <stdint.h>. I hate C.
parent
19661a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
persistent/cPersistence.c
persistent/cPersistence.c
+2
-5
No files found.
persistent/cPersistence.c
View file @
101d1eda
...
...
@@ -28,16 +28,13 @@ struct ccobject_head_struct
/*
The compiler on Windows used for Python 2.7 doesn't include
stdint.h.
The compiler on Windows used for Python 3.5 doesn't define
PRIx64 in its copy of stdint.h.
*/
#if !defined(PY3K) && defined(_WIN32)
typedef
unsigned
long
long
uint64_t
;
# define PRIx64 "llx"
#else
# include <stdint.h>
#endif
#ifndef PRIx64 && defined(_WIN32)
# define PRIx64 "llx"
# include <inttypes.h>
#endif
/* These two objects are initialized when the module is loaded */
...
...
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