quiet some macosx warnings

This commit is contained in:
nhmall
2019-11-15 21:20:38 -05:00
parent f319a8ce3f
commit 298af2294f
7 changed files with 133 additions and 55 deletions

3
include/decl.h Normal file → Executable file
View File

@@ -339,6 +339,9 @@ E const struct c_common_strings c_common_strings;
/* material strings */
E const char *materialnm[];
/* empty string that is non-const for parameter use */
E char emptystr[];
/* Monster name articles */
#define ARTICLE_NONE 0
#define ARTICLE_THE 1

6
include/system.h Normal file → Executable file
View File

@@ -573,4 +573,10 @@ E int FDECL(atoi, (const char *));
#include "lualib.h"
#include "lauxlib.h"
#if defined(WIN32)
#define LUA_INTCAST(i) ((int) i)
#else
#define LUA_INTCAST(i) (i)
#endif
#endif /* SYSTEM_H */