accepts integer as parameter
ifeq ($(DP_MAKE_TARGET), bsd)
ifeq ($(DP_ARCH),FreeBSD)
DEFAULT_SNDAPI=OSS
+else
+ifeq ($(DP_ARCH),OpenBSD)
+ DEFAULT_SNDAPI=NULL
+ UNIX_X11LIBPATH:=/usr/X11R6/lib
else
DEFAULT_SNDAPI=BSD
+endif
endif
OBJ_CD=$(OBJ_BSDCD)
##### BSD specific variables #####
# Link
-LDFLAGS_BSDCL=$(LDFLAGS_UNIXCOMMON) -lutil $(LDFLAGS_UNIXCL)
-LDFLAGS_BSDSV=$(LDFLAGS_UNIXCOMMON)
+LDFLAGS_BSDCL=$(LDFLAGS_UNIXCOMMON) -lutil $(LDFLAGS_UNIXCL) -L/usr/local/lib
+LDFLAGS_BSDSV=$(LDFLAGS_UNIXCOMMON) -L/usr/local/lib
LDFLAGS_BSDSDL=$(LDFLAGS_UNIXCOMMON) $(LDFLAGS_UNIXSDL)
t1 = (long) time(NULL);
t2 = strtol(s, NULL, 0);
- if(abs(t1 - t2) > rcon_secure_maxdiff.integer)
+ if(abs((int)t1 - (int)t2) > rcon_secure_maxdiff.integer)
return false;
if(!HMAC_MDFOUR_16BYTES((unsigned char *) mdfourbuf, (unsigned char *) s, slen, (unsigned char *) password, (int)strlen(password)))