mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
osol compilation fix, thx tg
This commit is contained in:
parent
1be5683de1
commit
4b7c49e942
2 changed files with 7 additions and 3 deletions
|
@ -84,7 +84,9 @@ SFMT_FLAGS = -fno-strict-aliasing
|
|||
#
|
||||
MPATH=-DMUD_LIB='"$(MUD_LIB)"' -DBINDIR='"$(BINDIR)"' -DERQ_DIR='"$(ERQ_DIR)"'
|
||||
#
|
||||
CFLAGS=-DPROGNAME='"@PROGNAME@"' @EXTRA_CFLAGS@ $(OPTIMIZE) $(DEBUG) $(WARN) $(MPATH) $(PROFIL)
|
||||
# would be nicer to have this idn include in autoconf but it shouldn't hurt
|
||||
# here either.. it makes this compile on OpenSolaris.. --lynX via tg 2010
|
||||
CFLAGS=-DPROGNAME='"@PROGNAME@"' @EXTRA_CFLAGS@ $(OPTIMIZE) $(DEBUG) $(WARN) $(MPATH) $(PROFIL) -I/usr/include/idn
|
||||
#
|
||||
LIBS=@LIBS@ @PKGLIBS@
|
||||
#
|
||||
|
|
|
@ -146,8 +146,10 @@ typedef int length_t;
|
|||
#define MAX_REPLY ERQ_MAX_REPLY
|
||||
|
||||
|
||||
/* don't know about the rfcs but here
|
||||
* hostnames are limited to 128 chars --lynX */
|
||||
/* hostnames are limited to 128 chars
|
||||
* as the purpose of longer hostnames
|
||||
* is likely to be either spamming or
|
||||
* hostname-based attacks --lynX */
|
||||
#define MAX_HOSTNAME 128
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue