This commit is contained in:
twinaphex 2016-07-14 17:29:01 +02:00
parent 119b19f00b
commit fca35fe914
2 changed files with 4 additions and 1 deletions

View File

@ -86,6 +86,8 @@
#define CLOCK_REALTIME 0
#endif
#if __IPHONE_OS_VERSION_MAX_ALLOWED < 100000
// this function is part of iOS 10 now
static int clock_gettime(int clk_ik, struct timespec *t)
{
struct timeval now;
@ -97,6 +99,7 @@ static int clock_gettime(int clk_ik, struct timespec *t)
return 0;
}
#endif
#endif
#ifdef EMSCRIPTEN
#include <emscripten.h>

View File

@ -1,6 +1,6 @@
/* This header is autogenerated by vulkan_loader_generator.py */
#include "../include/vulkan/vulkan_symbol_wrapper.h"
#include <vulkan/vulkan_symbol_wrapper.h>
PFN_vkCreateInstance vulkan_symbol_wrapper_vkCreateInstance;
PFN_vkEnumerateInstanceExtensionProperties vulkan_symbol_wrapper_vkEnumerateInstanceExtensionProperties;