-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
1.0
-
sparc
-
solaris_2.5
From ###@###.### Mon Feb 5 08:35:03 1996
Date: Mon, 5 Feb 1996 17:33:26 +0100 (MET)
From: Simon Leinen <###@###.###>
To: java@java
Subject: JDK 1.0 source: possible #include error in sun/tiny_Toolkit.c
The file tiny_Toolkit.c is the only place in the sources where a file
"thread.h" is included. I assume that this is not what was intended.
Maybe you wanted to include "threads.h" instead? In any case, the file
compiles fine without any of these includes.
--- src/solaris/sun/tiny_Toolkit.c Thu Jan 18 19:50:34 1996
+++ src/solaris/sun/tiny_Toolkit.c Sun Feb 4 12:50:55 1996
@@ -1,6 +1,8 @@
#include <X11/keysym.h>
#include <ctype.h>
+#ifdef SOLARIS
#include "thread.h"
+#endif
#include "tiny.h"
#include "java_awt_Event.h"
#include "sun_awt_tiny_TinyToolkit.h"
--
Simon.
Date: Mon, 5 Feb 1996 17:33:26 +0100 (MET)
From: Simon Leinen <###@###.###>
To: java@java
Subject: JDK 1.0 source: possible #include error in sun/tiny_Toolkit.c
The file tiny_Toolkit.c is the only place in the sources where a file
"thread.h" is included. I assume that this is not what was intended.
Maybe you wanted to include "threads.h" instead? In any case, the file
compiles fine without any of these includes.
--- src/solaris/sun/tiny_Toolkit.c Thu Jan 18 19:50:34 1996
+++ src/solaris/sun/tiny_Toolkit.c Sun Feb 4 12:50:55 1996
@@ -1,6 +1,8 @@
#include <X11/keysym.h>
#include <ctype.h>
+#ifdef SOLARIS
#include "thread.h"
+#endif
#include "tiny.h"
#include "java_awt_Event.h"
#include "sun_awt_tiny_TinyToolkit.h"
--
Simon.