forked from github/server
move some platform defines to a macros header
This commit is contained in:
parent
5b1d27542a
commit
5d45b0f99b
2 changed files with 7 additions and 2 deletions
src
|
@ -10,10 +10,10 @@ This program may not be used, modified or distributed
|
|||
without prior permission by the authors of Eressea.
|
||||
*/
|
||||
|
||||
#include <platform.h>
|
||||
#include "bind_ship.h"
|
||||
#include "bind_unit.h"
|
||||
|
||||
#include "direction.h"
|
||||
#include "move.h"
|
||||
|
||||
#include <kernel/curse.h>
|
||||
|
@ -25,10 +25,12 @@ without prior permission by the authors of Eressea.
|
|||
#include <util/attrib.h>
|
||||
#include <util/language.h>
|
||||
#include <util/log.h>
|
||||
#include <util/macros.h>
|
||||
#include <util/strings.h>
|
||||
|
||||
#include <tolua.h>
|
||||
#include <string.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lua.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int tolua_shiplist_next(lua_State * L)
|
||||
|
|
3
src/util/macros.h
Normal file
3
src/util/macros.h
Normal file
|
@ -0,0 +1,3 @@
|
|||
#define UNUSED_ARG(x) (void)x
|
||||
#define TOLUA_CAST (char*)
|
||||
|
Loading…
Add table
Reference in a new issue