blob: ee18eb0f7695f5e968881159717a4a4e5331c6a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ah,v 1.1 2006/12/07 11:24:27 markd Exp $
--- libjava/java/net/natPlainSocketImpl.cc.orig 2006-12-07 21:55:04.000000000 +1300
+++ libjava/java/net/natPlainSocketImpl.cc
@@ -61,6 +61,10 @@ read(int s, void *buf, int len)
#include <bstring.h>
#endif
+#ifdef TRUE
+#undef TRUE
+#undef FALSE
+#endif
#include <gcj/cni.h>
#include <gcj/javaprims.h>
|