--- a/misc/physfs/extras/physfslualoader.c Sat Nov 24 00:28:32 2012 +0400
+++ b/misc/physfs/extras/physfslualoader.c Sat Nov 24 01:30:46 2012 +0100
@@ -5,7 +5,7 @@
void *physfsReaderBuffer;
-const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size)
+PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size)
{
if(PHYSFS_eof(f))
@@ -23,7 +23,7 @@
}
}
-void physfsReaderSetBuffer(void *buffer)
+PHYSFS_DECL void physfsReaderSetBuffer(void *buffer)
{
physfsReaderBuffer = buffer;
}