blob: d24f7ac950aa746bb95c4a6a2b782f64114e5263 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ddd_strclass.C,v 1.1 2012/10/20 02:25:17 sbd Exp $
Define EOF if needed.
--- ddd/strclass.C.orig 2009-02-11 17:25:06.000000000 +0000
+++ ddd/strclass.C
@@ -40,6 +40,10 @@ extern "C" int malloc_verify();
#include <new>
#include <stdlib.h>
+#ifndef EOF
+# define EOF (-1)
+#endif
+
void string::error(const char* msg) const
{
std::cerr << "string: " << msg << "\n";
|