not use define anymore

This commit is contained in:
Pawel Kolodziejski 2008-07-26 18:05:08 +00:00
parent fb7de9f755
commit 750bec4236
2 changed files with 2 additions and 6 deletions

View file

@ -13,9 +13,7 @@
#include <time.h>
#include <errno.h>
#ifdef LUA_ADD_CUSTOM_FOPEN
#include "../resource.h"
#endif
#include "engine/resource.h"
#define CLOSEDTAG 2
#define IOTAG 1
@ -119,10 +117,8 @@ static void io_readfrom (void)
current = popen(s+1, "r");
else {
current = fopen(s, "r");
#ifdef LUA_ADD_CUSTOM_FOPEN
// if (current == NULL)
// current = g_resourceloader->openNewStream(s);
#endif
}
if (current == NULL) {
pushresult(0);