* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
*
- * $Id: portab.h,v 1.2 2002/03/12 15:19:12 alex Exp $
+ * $Id: portab.h,v 1.6 2002/05/27 13:01:58 alex Exp $
*
* portab.h: "Portabilitaets-Definitionen"
*/
#include "config.h"
+/* Compiler Features */
+
+
+#ifndef PARAMS
+# if PROTOTYPES
+# define PARAMS(args) args
+# else
+# define PARAMS(args) ()
+# endif
+#endif
+
+
/* Keywords */
#define EXTERN extern
/* Datatentypen */
+#ifndef PROTOTYPES
+# ifndef signed
+# define signed
+# endif
+#endif
+
typedef void VOID;
typedef void POINTER;
#define FALSE (BOOLEAN)0
#undef NULL
-#define NULL (VOID *)0
+#ifdef PROTOTYPES
+# define NULL (VOID *)0
+#else
+# define NULL 0L
+#endif
#undef GLOBAL
#define GLOBAL
+/* SPLint */
+
+
+#ifdef S_SPLINT_S
+#include "splint.h"
+#endif
+
+
/* configure-Optionen */
#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
-
#if OS_UNIX_AUX
#define _POSIX_SOURCE /* muss unter A/UX definiert sein */
#endif