X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fglobal.h;h=994785651ed1f102317203cbe4d3fc861688ddac;hb=14aba7c1b2b26c8ddbf193c761bd4103997e5dfc;hp=217e4ad13b1b45c95237e18998b9ac94433fda3b;hpb=1547f76cfdfabe2226af2e35196316b21a32937c;p=ngircd-alex.git diff --git a/src/ngircd/global.h b/src/ngircd/global.h index 217e4ad1..99478565 100644 --- a/src/ngircd/global.h +++ b/src/ngircd/global.h @@ -9,11 +9,17 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: global.h,v 1.5 2002/01/02 02:42:58 alex Exp $ + * $Id: global.h,v 1.7 2002/02/25 11:42:15 alex Exp $ * * global.h: Globaler Header, wir in jedes(!) Modul eingebunden. * * $Log: global.h,v $ + * Revision 1.7 2002/02/25 11:42:15 alex + * - unter A/UX wird _POSIX_SOURCE definiert: fuer Systemheader notwendig. + * + * Revision 1.6 2002/01/05 15:55:11 alex + * - Wrapper fuer inet_aton(): liefert immer Fehler. + * * Revision 1.5 2002/01/02 02:42:58 alex * - Copyright-Texte aktualisiert. * @@ -40,10 +46,18 @@ #include "config.h" #include "defines.h" +#if OS_UNIX_AUX +#define _POSIX_SOURCE /* muss unter A/UX definiert sein */ +#endif + #ifndef HAVE_socklen_t #define socklen_t int /* u.a. fuer Mac OS X */ #endif +#ifndef HAVE_INET_ATON +#define inet_aton( opt, bind ) 0 /* Dummy fuer inet_aton() */ +#endif + #endif