mirror of https://github.com/AxioDL/metaforce.git
Added inttypes
This commit is contained in:
parent
c04e37c1a2
commit
56c21d108c
|
@ -2,6 +2,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
#include <system_error>
|
||||
#include <string>
|
||||
|
||||
|
@ -182,11 +183,11 @@ BlenderConnection::BlenderConnection(bool silenceBlender)
|
|||
|
||||
wchar_t cmdLine[2048];
|
||||
if (installAttempt == 1)
|
||||
_snwprintf(cmdLine, 2048, L" --background -P \"%s\" -- %d %d \"%s\"",
|
||||
blenderShellPath.c_str(), int(writehandle), int(readhandle), blenderAddonPath.c_str());
|
||||
_snwprintf(cmdLine, 2048, L" --background -P \"%s\" -- %" PRIuPTR " %" PRIuPTR " \"%s\"",
|
||||
blenderShellPath.c_str(), uintptr_t(writehandle), uintptr_t(readhandle), blenderAddonPath.c_str());
|
||||
else
|
||||
_snwprintf(cmdLine, 2048, L" --background -P \"%s\" -- %d %d",
|
||||
blenderShellPath.c_str(), int(writehandle), int(readhandle));
|
||||
_snwprintf(cmdLine, 2048, L" --background -P \"%s\" -- %" PRIuPTR " %" PRIuPTR,
|
||||
blenderShellPath.c_str(), uintptr_t(writehandle), uintptr_t(readhandle));
|
||||
|
||||
STARTUPINFO sinfo = {sizeof(STARTUPINFO)};
|
||||
HANDLE nulHandle = NULL;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9c44d5f4de48e661855b883672dd56491acbe3e5
|
||||
Subproject commit fd55c9298330d0809b5d2c7dc4277f87c6d29c19
|
|
@ -1 +1 @@
|
|||
Subproject commit 828db515ba316903c367b9dc7acf9d0bec0969e7
|
||||
Subproject commit 317e75c22e31746947bd1b3700cd72d53c97c837
|
|
@ -18,6 +18,7 @@
|
|||
#include "winsupport.hpp"
|
||||
#endif
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <time.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Reference in New Issue