mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
Added inttypes
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <system_error>
|
#include <system_error>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@@ -182,11 +183,11 @@ BlenderConnection::BlenderConnection(bool silenceBlender)
|
|||||||
|
|
||||||
wchar_t cmdLine[2048];
|
wchar_t cmdLine[2048];
|
||||||
if (installAttempt == 1)
|
if (installAttempt == 1)
|
||||||
_snwprintf(cmdLine, 2048, L" --background -P \"%s\" -- %d %d \"%s\"",
|
_snwprintf(cmdLine, 2048, L" --background -P \"%s\" -- %" PRIuPTR " %" PRIuPTR " \"%s\"",
|
||||||
blenderShellPath.c_str(), int(writehandle), int(readhandle), blenderAddonPath.c_str());
|
blenderShellPath.c_str(), uintptr_t(writehandle), uintptr_t(readhandle), blenderAddonPath.c_str());
|
||||||
else
|
else
|
||||||
_snwprintf(cmdLine, 2048, L" --background -P \"%s\" -- %d %d",
|
_snwprintf(cmdLine, 2048, L" --background -P \"%s\" -- %" PRIuPTR " %" PRIuPTR,
|
||||||
blenderShellPath.c_str(), int(writehandle), int(readhandle));
|
blenderShellPath.c_str(), uintptr_t(writehandle), uintptr_t(readhandle));
|
||||||
|
|
||||||
STARTUPINFO sinfo = {sizeof(STARTUPINFO)};
|
STARTUPINFO sinfo = {sizeof(STARTUPINFO)};
|
||||||
HANDLE nulHandle = NULL;
|
HANDLE nulHandle = NULL;
|
||||||
|
|||||||
2
hecl/extern/Athena
vendored
2
hecl/extern/Athena
vendored
Submodule hecl/extern/Athena updated: 9c44d5f4de...fd55c92983
2
hecl/extern/LogVisor
vendored
2
hecl/extern/LogVisor
vendored
Submodule hecl/extern/LogVisor updated: 828db515ba...317e75c22e
@@ -18,6 +18,7 @@
|
|||||||
#include "winsupport.hpp"
|
#include "winsupport.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user