summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/cygwin/types.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0ee8d61c3..8744708f9 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2002-05-22 Corinna Vinschen <corinna@vinschen.de>
+ * include/cygwin/types.h: Revert previous patch.
+
+2002-05-22 Corinna Vinschen <corinna@vinschen.de>
+
* include/cygwin/types.h: Define pthread stuff only if _POSIX_THREADS
is defined.
diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h
index 92f437f05..92b60b7a3 100644
--- a/winsup/cygwin/include/cygwin/types.h
+++ b/winsup/cygwin/include/cygwin/types.h
@@ -50,7 +50,6 @@ typedef __gid16_t gid_t;
#endif
#if !defined(__INSIDE_CYGWIN__) || !defined(__cplusplus)
-#if defined(_POSIX_THREADS)
typedef void *pthread_t;
typedef void *pthread_mutex_t;
@@ -88,7 +87,6 @@ typedef class pthread_rwlockattr *pthread_rwlockattr_t;
/* semaphores types */
typedef class semaphore *sem_t;
-#endif /* defined(_POSIX_THREADS) */
#endif /* __INSIDE_CYGWIN__ */
#endif /* _CYGWIN_TYPES_H */