* include/cygwin/types.h: Revert previous patch.
This commit is contained in:
parent
c811b1ee20
commit
1d2b71d6a3
|
@ -1,3 +1,7 @@
|
||||||
|
2002-05-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* include/cygwin/types.h: Revert previous patch.
|
||||||
|
|
||||||
2002-05-22 Corinna Vinschen <corinna@vinschen.de>
|
2002-05-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* include/cygwin/types.h: Define pthread stuff only if _POSIX_THREADS
|
* include/cygwin/types.h: Define pthread stuff only if _POSIX_THREADS
|
||||||
|
|
|
@ -50,7 +50,6 @@ typedef __gid16_t gid_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(__INSIDE_CYGWIN__) || !defined(__cplusplus)
|
#if !defined(__INSIDE_CYGWIN__) || !defined(__cplusplus)
|
||||||
#if defined(_POSIX_THREADS)
|
|
||||||
|
|
||||||
typedef void *pthread_t;
|
typedef void *pthread_t;
|
||||||
typedef void *pthread_mutex_t;
|
typedef void *pthread_mutex_t;
|
||||||
|
@ -88,7 +87,6 @@ typedef class pthread_rwlockattr *pthread_rwlockattr_t;
|
||||||
|
|
||||||
/* semaphores types */
|
/* semaphores types */
|
||||||
typedef class semaphore *sem_t;
|
typedef class semaphore *sem_t;
|
||||||
#endif /* defined(_POSIX_THREADS) */
|
|
||||||
#endif /* __INSIDE_CYGWIN__ */
|
#endif /* __INSIDE_CYGWIN__ */
|
||||||
#endif /* _CYGWIN_TYPES_H */
|
#endif /* _CYGWIN_TYPES_H */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue