]> jfr.im git - irc/quakenet/newserv.git/blobdiff - lua/lua.h
only define __USE_BSD if not defined
[irc/quakenet/newserv.git] / lua / lua.h
index ceb59793e191852a2eaa3be973e86ea900f50547..81ff0bfcc37fdb344fcee635cff3b61ad48812a1 100644 (file)
--- a/lua/lua.h
+++ b/lua/lua.h
@@ -5,7 +5,9 @@
 #ifndef _LUA_H
 #define _LUA_H
 
+#ifndef __USE_BSD
 #define __USE_BSD
+#endif
 
 #include <lua.h>
 #include <lauxlib.h>
@@ -116,22 +118,6 @@ void lua_debugoutput(char *p, ...) __attribute__ ((format (printf, 1, 2)));
 
 #endif
 
-#ifndef INLINE
-
-#ifdef __GNUC__
-#define INLINE __attribute((always_inline)) inline
-#endif
-
-#ifdef _MSC_VER
-#define INLINE __forceinline
-#endif
-
-#ifndef INLINE
-#define INLINE inline
-#endif
-
-#endif /* INLINE */
-
-INLINE int lua_debugpcall(lua_State *l, char *message, int a, int b, int c);
+int lua_debugpcall(lua_State *l, char *message, int a, int b, int c);
 
 #endif