summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2005-04-09 18:27:16 +0000
committerAlexander Barton <alex@barton.de>2005-04-09 18:27:16 +0000
commitca8ab38cacaac8943c30a40ef33b93b3af04b8cc (patch)
tree67d5ede256b3e914ae9f359497404daff8556684
parentdec7eba53161a4586cde0493eb1889f3fe11b7c8 (diff)
downloadngircd-ca8ab38cacaac8943c30a40ef33b93b3af04b8cc.tar.gz
ngircd-ca8ab38cacaac8943c30a40ef33b93b3af04b8cc.zip
Use typedef instead of #define to declare the socklen_t type if needed.
-rw-r--r--src/portab/portab.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/portab/portab.h b/src/portab/portab.h
index ef376c80..44e7c6c5 100644
--- a/src/portab/portab.h
+++ b/src/portab/portab.h
@@ -1,6 +1,6 @@
 /*
  * ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2003 by Alexander Barton (alex@barton.de)
+ * Copyright (c)2001-2005 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.19 2005/03/30 16:37:02 alex Exp $
+ * $Id: portab.h,v 1.20 2005/04/09 18:27:16 alex Exp $
  *
  * Portability functions and declarations (header for libngbportab).
  */
@@ -132,7 +132,7 @@ typedef unsigned char bool;
 /* configure options */
 
 #ifndef HAVE_socklen_t
-#define socklen_t int			/* u.a. fuer Mac OS X */
+typedef int socklen_t;			/* for Mac OS X, amongst others */
 #endif
 
 #ifndef HAVE_SNPRINTF