forked from github/server
weg mit stdbool.h, das macht nur ärger.
library-path für luabind
This commit is contained in:
parent
44faa4e2fd
commit
b30849b397
|
@ -1,3 +1,6 @@
|
|||
C++ = g++ ;
|
||||
CC = gcc ;
|
||||
|
||||
if ! $(DISTCC_HOSTS) {
|
||||
} else {
|
||||
CC = distcc $(CC) ;
|
||||
|
|
|
@ -98,7 +98,8 @@ a_findc(const attrib * a, const attrib_type * at)
|
|||
}
|
||||
|
||||
attrib *
|
||||
a_add(attrib ** pa, attrib * a) {
|
||||
a_add(attrib ** pa, attrib * a)
|
||||
{
|
||||
attrib ** find = pa;
|
||||
assert(a->next==NULL && a->nexttype==NULL);
|
||||
while (*find && (*find)->type!=a->type) find = &(*find)->next;
|
||||
|
|
|
@ -45,13 +45,6 @@
|
|||
# include <dmalloc.h>
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
# include <stdbool.h>
|
||||
# define HAS_BOOLEAN
|
||||
typedef int boolean;
|
||||
/* # define boolean bool */
|
||||
#endif
|
||||
|
||||
#if defined(_DEBUG) && defined(_MSC_VER)
|
||||
# ifndef MALLOCDBG
|
||||
# define MALLOCDBG 1
|
||||
|
|
|
@ -27,7 +27,7 @@ if $(HAVE_LUA) {
|
|||
server.cpp
|
||||
;
|
||||
|
||||
LINKLIBS on $(BINARY) += -llua50 -llualib50 ;
|
||||
LINKLIBS on $(BINARY) += -L$(LUABIND_ROOT)/lib -llua50 -llualib50 ;
|
||||
LINKLIBS on $(BINARY) += -lluabind ;
|
||||
LINKLIBS on $(BINARY) += -ldl -lstdc++ ;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue