16 lines
452 B
Text
16 lines
452 B
Text
$NetBSD: patch-ao,v 1.1 2003/12/09 19:41:26 ad Exp $
|
|
|
|
--- dptutil/dynsize.cpp.orig 2003-12-09 19:22:47.000000000 +0000
|
|
+++ dptutil/dynsize.cpp 2003-12-09 19:25:59.000000000 +0000
|
|
@@ -68,7 +68,11 @@
|
|
if ( buf != NULL )
|
|
{
|
|
#if !defined __MWERKS__
|
|
+#if __GNUC__ >= 3
|
|
+ setbuf(buf, curSize);
|
|
+#else
|
|
setb(buf, buf + curSize, 1);
|
|
+#endif
|
|
#else
|
|
pubsetbuf (buf, curSize);
|
|
#endif
|