* include/cygwin/types.h: Move multiple inclusion guards to
beginning and end of header.
This commit is contained in:
@ -9,14 +9,14 @@ This software is a copyrighted work licensed under the terms of the
|
||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||
details. */
|
||||
|
||||
#ifndef _CYGWIN_TYPES_H
|
||||
#define _CYGWIN_TYPES_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#ifndef _CYGWIN_TYPES_H
|
||||
#define _CYGWIN_TYPES_H
|
||||
|
||||
#include <sys/sysmacros.h>
|
||||
#include <stdint.h>
|
||||
#include <endian.h>
|
||||
@ -218,8 +218,9 @@ typedef class pthread_rwlockattr *pthread_rwlockattr_t;
|
||||
/* semaphores types */
|
||||
typedef class semaphore *sem_t;
|
||||
#endif /* __INSIDE_CYGWIN__ */
|
||||
#endif /* _CYGWIN_TYPES_H */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CYGWIN_TYPES_H */
|
||||
|
Reference in New Issue
Block a user