Fixed detection of 32-Bit (x86) version of Haiku OS.

This commit is contained in:
LoRd_MuldeR 2022-09-29 21:05:16 +02:00
parent 270430b9d8
commit e4c3343d0c
Signed by: mulder
GPG Key ID: 2B5913365F57E03F
2 changed files with 4 additions and 4 deletions

View File

@ -92,7 +92,7 @@ else
CFLAGS += -DSLUNKBUILD_NOTHREADS
endif
ifneq (,$(firstword $(filter %-unknown-haiku,$(MACHINE))))
ifneq (,$(firstword $(filter %-pc-haiku %-unknown-haiku,$(MACHINE))))
LDFLGS += -lbsd
endif

View File

@ -8,9 +8,9 @@
#include "../../libslunkcrypt/src/version.h"
#define VERSION_HELPER1(X,Y,Z) #X "." #Y "." #Z
#define VERSION_HELPER2(X,Y,Z) VERSION_HELPER1(X,Y,Z)
#define VERSION_STRING VERSION_HELPER2(LIB_VERSION_MAJOR,LIB_VERSION_MINOR,LIB_VERSION_PATCH)
#define _VERSION_STRING_HELPER1(W,X,Y,Z) #W "." #X "." #Y "." #Z
#define _VERSION_STRING_HELPER2(W,X,Y,Z) _VERSION_STRING_HELPER1(W,X,Y,Z)
#define VERSION_STRING _VERSION_STRING_HELPER2(LIB_VERSION_MAJOR,LIB_VERSION_MINOR,0,LIB_VERSION_PATCH)
/////////////////////////////////////////////////////////////////////////////
//