Fix duplicate symbol error on static link

This commit is contained in:
Joshua Granick
2016-10-17 13:34:11 -07:00
parent c37c2a36e1
commit 17de3dcfa6

View File

@@ -3,7 +3,7 @@
#include <hx/CFFI.h>
#ifdef STATIC_LINK
#if defined(STATIC_LINK) && defined(IMPLEMENT_CFFI_EXT)
void *LoadFunc(const char *inName) { return 0; }
#else
extern void *LoadFunc(const char *inName);