* include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.

* include/direct.h:  Ditto.
	* include/dirent.h:  Ditto.
	* include/dos.h:  Ditto.
	* include/excpt.h:  Ditto.
	* inlude/fcntl,h
	* include/io.h:  Ditto.
	* inlude/mem.h:  Ditto.
	* include/memory.h:  Ditto.
	* include/process.h:  Ditto.
	* inlude/search.h:  Ditto.
	* include/share.h:  Ditto.
	* include/unistd.h:  Ditto.
	* include/sys/fcntl.h:  Ditto.
	* include/file.h:  Ditto.
	* include/sys/locking.h:  Ditto.
	* include/sys/param.h:  Ditto.
	* include/sys/stat,h
	* include/sys/time.h:  Ditto.
	* include/sys/timeb.h:  Ditto.
	* include/sys/types.h:  Ditto.
	* include/sys/unistd.h:  Ditto.
	* include/sys/utime.h:  Ditto.
This commit is contained in:
Danny Smith
2004-03-11 09:41:08 +00:00
parent cfc26d93b5
commit f8a024a81b
24 changed files with 31 additions and 100 deletions

View File

@@ -3,6 +3,5 @@
*
* This fcntl.h maps to the root fcntl.h
*/
#ifndef __STRICT_ANSI__
#include <fcntl.h>
#endif

View File

@@ -4,6 +4,4 @@
* This file.h maps to the root fcntl.h
* TODO?
*/
#ifndef __STRICT_ANSI__
#include <fcntl.h>
#endif

View File

@@ -24,8 +24,6 @@
*
*/
#ifndef __STRICT_ANSI__
#ifndef _LOCKING_H_
#define _LOCKING_H_
@@ -47,6 +45,3 @@
#endif /* Not NO_OLDNAMES */
#endif /* Not _LOCKING_H_ */
#endif /* Not __STRICT_ANSI__ */

View File

@@ -28,7 +28,6 @@
#include <sys/types.h>
#include <limits.h>
#ifndef __STRICT_ANSI__
/* These are useful for cross-compiling */
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234
@@ -37,5 +36,3 @@
#define MAXPATHLEN PATH_MAX
#endif
#endif

View File

@@ -25,8 +25,6 @@
*
*/
#ifndef __STRICT_ANSI__
#ifndef _STAT_H_
#define _STAT_H_
@@ -185,6 +183,3 @@ _CRTIMP int __cdecl stat (const char*, struct stat*);
#endif /* Not RC_INVOKED */
#endif /* Not _STAT_H_ */
#endif /* Not __STRICT_ANSI__ */

View File

@@ -1,7 +1,6 @@
#include <time.h>
#ifndef __STRICT_ANSI__
#ifndef _TIMEVAL_DEFINED /* also in winsock[2].h */
#define _TIMEVAL_DEFINED
struct timeval {
@@ -15,5 +14,3 @@ struct timeval {
((tvp)->tv_usec cmp (uvp)->tv_usec))
#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
#endif /* _TIMEVAL_DEFINED */
#endif /* __STRICT_ANSI__ */

View File

@@ -24,8 +24,6 @@
*
*/
#ifndef __STRICT_ANSI__
#ifndef _TIMEB_H_
#define _TIMEB_H_
@@ -77,6 +75,3 @@ _CRTIMP void __cdecl ftime (struct timeb*);
#endif /* Not RC_INVOKED */
#endif /* Not _TIMEB_H_ */
#endif /* Not __STRICT_ANSI__ */

View File

@@ -46,8 +46,6 @@ typedef long time_t;
#endif
#ifndef __STRICT_ANSI__
#ifndef _OFF_T_
#define _OFF_T_
typedef long _off_t;
@@ -120,8 +118,6 @@ typedef _ssize_t ssize_t;
#endif
#endif /* Not _SSIZE_T_ */
#endif /* Not __STRICT_ANSI__ */
#endif /* Not RC_INVOKED */
#endif /* Not _TYPES_H_ */

View File

@@ -3,7 +3,4 @@
*
* unistd.h maps (roughly) to io.h
*/
#ifndef __STRICT_ANSI__
#include <io.h>
#endif

View File

@@ -23,9 +23,6 @@
* $Date$
*
*/
#ifndef __STRICT_ANSI__
#ifndef _UTIME_H_
#define _UTIME_H_
@@ -84,6 +81,3 @@ _CRTIMP int __cdecl utime (const char*, struct utimbuf*);
#endif /* Not RC_INVOKED */
#endif /* Not _UTIME_H_ */
#endif /* Not __STRICT_ANSI__ */