Cosmetics

This commit is contained in:
bsongis
2015-04-25 10:52:01 +02:00
parent 27005f57d5
commit becad53951
4 changed files with 8 additions and 7 deletions
-4
View File
@@ -193,10 +193,6 @@ LUALIB_API char *(luaL_buffinitsize) (lua_State *L, luaL_Buffer *B, size_t sz);
#define LUA_FILEHANDLE "FILE*"
#if defined(USE_FATFS)
#define FILE FIL
#endif
typedef struct luaL_Stream {
#if defined(USE_FATFS)
FIL f;
+8
View File
@@ -15,6 +15,7 @@
#endif
#include <errno.h>
#include <stdlib.h>
#include <string.h>
@@ -26,6 +27,9 @@
#include "lauxlib.h"
#include "lualib.h"
#if defined(USE_FATFS)
#define FILE FIL
#endif
#if !defined(lua_checkmode)
@@ -724,3 +728,7 @@ LUAMOD_API int luaopen_io (lua_State *L) {
// return 1;
return 0;
}
#if defined(USE_FATFS)
#undef FILE
#endif