Added inttypes

This commit is contained in:
Jack Andersen 2015-08-31 09:47:59 -10:00
parent c04e37c1a2
commit 56c21d108c
4 changed files with 8 additions and 6 deletions

View File

@ -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;

2
hecl/extern/Athena vendored

@ -1 +1 @@
Subproject commit 9c44d5f4de48e661855b883672dd56491acbe3e5
Subproject commit fd55c9298330d0809b5d2c7dc4277f87c6d29c19

@ -1 +1 @@
Subproject commit 828db515ba316903c367b9dc7acf9d0bec0969e7
Subproject commit 317e75c22e31746947bd1b3700cd72d53c97c837

View File

@ -18,6 +18,7 @@
#include "winsupport.hpp"
#endif
#include <inttypes.h>
#include <time.h>
#include <stdarg.h>
#include <stdio.h>