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
Compare Revisions
c3ee3a429d52fe9df70b62e2a2f14999048d0c75...37cdd991af1c54c30752bcc6fd45f272d58c7ade
Commits (1)
Add a UINT64_MAX hack for VS 2022
· 37cdd991
Deucе
authored
Feb 25, 2022
Not sure why this isn't defined from inttypes.h, but blah.
37cdd991
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
};
...
...