summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-22 13:25:13 +1100
committerDamien Miller <djm@mindrot.org>2000-01-22 13:25:13 +1100
commit91427007bca1c7e064d720820bcafce3573a668d (patch)
treee88e01d8e3eb94620b38ffdbd4893a78cdaa3cbf
parentee1c0b3d3b1334d2e498aded0151ea8c0d804ebc (diff)
- Fix compilation of bsd-snprintf.c on Solaris, fix from Ben Taylor
<bent@clark.net>
-rw-r--r--ChangeLog4
-rw-r--r--bsd-snprintf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 14005e7a..d4f7f8e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20000122
+ - Fix compilation of bsd-snprintf.c on Solaris, fix from Ben Taylor
+ <bent@clark.net>
+
20000120
- Don't use getaddrinfo on AIX
- Update to latest OpenBSD CVS:
diff --git a/bsd-snprintf.c b/bsd-snprintf.c
index 81a4b284..c1dcdab4 100644
--- a/bsd-snprintf.c
+++ b/bsd-snprintf.c
@@ -44,7 +44,7 @@
#include <setjmp.h>
#ifndef roundup
-#define roundup (x, y) ((((x)+((y)-1))/(y))*(y))
+#define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
#endif
static int pgsize;