Correct unistd.h to be includable with strict ansi, too.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1126 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
Kai Tietz 2009-08-12 10:37:18 +00:00
parent 22002263fe
commit 988dd29efa

View File

@ -3,13 +3,9 @@
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
/*
* This file is part of the Mingw32 package.
*
* unistd.h maps (roughly) to io.h
*/
#ifndef __STRICT_ANSI__
#ifndef _UNISTD_H
#define _UNISTD_H
#define __UNISTD_H_SOURCED__ 1
#include <io.h>
#include <process.h>
@ -55,4 +51,6 @@ int __cdecl __MINGW_NOTHROW usleep(useconds_t useconds);
}
#endif
#endif
#undef __UNISTD_H_SOURCED__
#endif /* _UNISTD_H */