Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
37cdd991
Commit
37cdd991
authored
Feb 25, 2022
by
Deucе
👌🏾
Browse files
Add a UINT64_MAX hack for VS 2022
Not sure why this isn't defined from inttypes.h, but blah.
parent
c3ee3a42
Pipeline
#2783
passed with stage
in 9 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/conio/cterm.c
src/conio/cterm.c
+5
-0
No files found.
src/conio/cterm.c
View file @
37cdd991
...
...
@@ -75,6 +75,11 @@
#include "base64.h"
#include <crc16.h>
// Hack for Visual Studio 2022
#ifndef UINT64_MAX
#define UINT64_MAX UINT64_C(-1)
#endif
#define BUFSIZE 2048
const
int
cterm_tabs
[]
=
{
1
,
9
,
17
,
25
,
33
,
41
,
49
,
57
,
65
,
73
,
81
,
89
,
97
,
105
,
113
,
121
,
129
,
137
,
145
};
...
...
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