* include/cygwin/types.h: Move multiple inclusion guards to

beginning and end of header.
This commit is contained in:
Yaakov Selkowitz 2011-04-05 00:50:19 +00:00
parent 3649c742cb
commit 8b09538c94
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2011-04-04 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* include/cygwin/types.h: Move multiple inclusion guards to
beginning and end of header.
2011-04-04 Christopher Faylor <me.cygwin2011@cgf.cx>
* Makefile.in: Move Makefile.common include earlier to fix problems with

View File

@ -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 */