Fixed detection of 32-Bit (x86) version of Haiku OS.
This commit is contained in:
parent
270430b9d8
commit
e4c3343d0c
2
Makefile
2
Makefile
@ -92,7 +92,7 @@ else
|
|||||||
CFLAGS += -DSLUNKBUILD_NOTHREADS
|
CFLAGS += -DSLUNKBUILD_NOTHREADS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(firstword $(filter %-unknown-haiku,$(MACHINE))))
|
ifneq (,$(firstword $(filter %-pc-haiku %-unknown-haiku,$(MACHINE))))
|
||||||
LDFLGS += -lbsd
|
LDFLGS += -lbsd
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
|
|
||||||
#include "../../libslunkcrypt/src/version.h"
|
#include "../../libslunkcrypt/src/version.h"
|
||||||
|
|
||||||
#define VERSION_HELPER1(X,Y,Z) #X "." #Y "." #Z
|
#define _VERSION_STRING_HELPER1(W,X,Y,Z) #W "." #X "." #Y "." #Z
|
||||||
#define VERSION_HELPER2(X,Y,Z) VERSION_HELPER1(X,Y,Z)
|
#define _VERSION_STRING_HELPER2(W,X,Y,Z) _VERSION_STRING_HELPER1(W,X,Y,Z)
|
||||||
#define VERSION_STRING VERSION_HELPER2(LIB_VERSION_MAJOR,LIB_VERSION_MINOR,LIB_VERSION_PATCH)
|
#define VERSION_STRING _VERSION_STRING_HELPER2(LIB_VERSION_MAJOR,LIB_VERSION_MINOR,0,LIB_VERSION_PATCH)
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user