X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fportab%2Fportab.h;h=dc0a4f926d497d3a8f770dbd935e8a0b3e20dc16;hp=333ec81e8d77e4a7a9c68ffcad2374ff9e4ac753;hb=0b91df05e0b85980292956973b339ecce31e28ed;hpb=c9540015c88c280a19ebbd872e7dcba47d5707ae diff --git a/src/portab/portab.h b/src/portab/portab.h index 333ec81e..dc0a4f92 100644 --- a/src/portab/portab.h +++ b/src/portab/portab.h @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) + * Copyright (c)2001-2003 by Alexander Barton (alex@barton.de) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: portab.h,v 1.12 2003/01/03 22:03:51 alex Exp $ + * $Id: portab.h,v 1.15 2003/03/31 19:01:02 alex Exp $ * * Portability functions and declarations (header for libngbportab). */ @@ -129,10 +129,6 @@ typedef UINT8 BOOLEAN; #define socklen_t int /* u.a. fuer Mac OS X */ #endif -#if OS_UNIX_AUX -#define _POSIX_SOURCE /* muss unter A/UX definiert sein */ -#endif - #ifndef HAVE_SNPRINTF EXTERN INT snprintf PARAMS(( CHAR *str, size_t count, CONST CHAR *fmt, ... )); #endif @@ -146,9 +142,18 @@ EXTERN size_t strlcpy PARAMS(( CHAR *dst, CONST CHAR *src, size_t size )); #endif #ifndef HAVE_VSNPRINTF +#include EXTERN INT vsnprintf PARAMS(( CHAR *str, size_t count, CONST CHAR *fmt, va_list args )); #endif +#ifndef PACKAGE_NAME +#define PACKAGE_NAME PACKAGE +#endif + +#ifndef PACKAGE_VERSION +#define PACKAGE_VERSION VERSION +#endif + #endif