Skip to content

Commit 267b450

Browse files
committed
Possibly fix my Windows CI build
Apparently it doesn't know what SCNx32 and SCNu32 from inttypes.h are. Not gonna research it deeply but it seems easy to fix, however a bit nasty, but this isn't gonna be merged into master anyway and can always be reverted, so here goes.
1 parent 3462330 commit 267b450

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

desktop_version/src/editor.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
#endif
2828
#include <inttypes.h>
2929

30+
// Windows NixOS CI doesn't work without this?
31+
#ifndef SCNx32
32+
#define SCNx32 "x"
33+
#endif
34+
#ifndef SCNu32
35+
#define SCNu32 "u"
36+
#endif
37+
3038
edlevelclass::edlevelclass()
3139
{
3240
tileset=0;

0 commit comments

Comments
 (0)