Updated NaCl toolchain to v49.

This commit is contained in:
Branimir Karadžić 2016-09-02 21:25:01 -07:00
parent 0ba8b1895b
commit f9486780c2
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#include <bx/bx.h>
#include <dirent.h>
#include <sys/stat.h>
@ -15,6 +16,9 @@ namespace ImGui
void ImFileList::ChDir(const char* path)
{
#if BX_PLATFORM_NACL
BX_UNUSED(path);
#else
DIR* dir = opendir(path);
if (NULL != dir)
{
@ -43,6 +47,7 @@ namespace ImGui
closedir(dir);
}
#endif // BX_PLATFORM_NACL
}
void ImFileList::Draw()

View File

@ -31,6 +31,7 @@
#include <bx/bx.h>
#include <bx/allocator.h>
#include <bx/crtimpl.h>
#include <bx/uint32_t.h>
BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4244); // warning C4244: '=' : conversion from '' to '', possible loss of data

View File

@ -5,8 +5,10 @@
#include "hmd_openvr.h"
BX_PRAGMA_DIAGNOSTIC_PUSH()
BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wunused-variable")
#include <openvr/openvr_capi.h>
BX_PRAGMA_DIAGNOSTIC_POP()
namespace bgfx
{