|
From: Carlo W. <li...@us...> - 2002-01-05 02:35:25
|
CVSROOT : /cvsroot/libcw
Module : src
Commit time: 2002-00-05 02:35:23 UTC
Modified files:
libcwd/include/cwd_debug.h
Log message:
2.95/FreeBSD bug fix attempt.
---------------------- diff included ----------------------
Index: src/libcwd/include/cwd_debug.h
diff -u src/libcwd/include/cwd_debug.h:1.2 src/libcwd/include/cwd_debug.h:1.3
--- src/libcwd/include/cwd_debug.h:1.2 Sat Dec 29 20:17:49 2001
+++ src/libcwd/include/cwd_debug.h Fri Jan 4 18:35:12 2002
@@ -1,5 +1,5 @@
// Generated automatically from sys.ho.in by configure.
-// $Header: /cvsroot/l/li/libcw/src/libcwd/include/cwd_debug.h,v 1.2 2001/12/30 04:17:49 libcw Exp $
+// $Header: /cvsroot/l/li/libcw/src/libcwd/include/cwd_debug.h,v 1.3 2002/01/05 02:35:12 libcw Exp $
//
// Copyright (C) 2001, by
//
@@ -128,7 +128,12 @@
#ifdef DEBUGDEBUG
namespace _private_ {
+#if defined(__FreeBSD__) && __GNUC__ < 3
+ // The other thing is not emitted apparently.
+ enum non_allocating_fake_ostream_using_write_ct { raw_write };
+#else
static class non_allocating_fake_ostream_using_write_ct { } const raw_write = { };
+#endif
}
inline _private_::non_allocating_fake_ostream_using_write_ct const& operator<<(_private_::non_allocating_fake_ostream_using_write_ct const& raw_write, char const* data)
----------------------- End of diff -----------------------
|