2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

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

Submodule hecl/extern/Athena updated: 9c44d5f4de...fd55c92983

Submodule hecl/extern/LogVisor updated: 828db515ba...317e75c22e

View File

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