* 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.
+2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * 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.
+
2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__UNUSED_PARAM): Define macro.
*
*/
-#ifndef __STRICT_ANSI__
-
#ifndef _CONIO_H_
#define _CONIO_H_
#endif /* Not RC_INVOKED */
#endif /* Not _CONIO_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
* $Date$
*
*/
-
-#ifndef __STRICT_ANSI__
-
#ifndef _DIRECT_H_
#define _DIRECT_H_
#endif /* Not RC_INVOKED */
#endif /* Not _DIRECT_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
* $Date$
*
*/
-
-#ifndef __STRICT_ANSI__
-
#ifndef _DIRENT_H_
#define _DIRENT_H_
#endif /* Not RC_INVOKED */
#endif /* Not _DIRENT_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
*
*/
-#ifndef __STRICT_ANSI__
-
#ifndef _DOS_H_
#define _DOS_H_
#endif /* Not RC_INVOKED */
#endif /* Not _DOS_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
/* All the headers include this file. */
#include <_mingw.h>
-#ifndef __STRICT_ANSI__
-
#include <windef.h>
/*
#endif /* Not RC_INVOKED */
-#endif /* Not strict ANSI */
-
#endif /* _EXCPT_H_ not defined */
* $Date$
*
*/
-
-#ifndef __STRICT_ANSI__
-
#ifndef _FCNTL_H_
#define _FCNTL_H_
#endif /* Not _NO_OLDNAMES */
#endif /* Not _FCNTL_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
* $Date$
*
*/
-
-#ifndef __STRICT_ANSI__
-
#ifndef _IO_H_
#define _IO_H_
/* MSVC's io.h contains the stuff from dir.h, so I will too.
* NOTE: This also defines off_t, the file offset type, through
* an inclusion of sys/types.h */
-#ifndef __STRICT_ANSI__
#include <sys/types.h> /* To get time_t. */
#endif /* Not RC_INVOKED */
-#endif /* Not __STRICT_ANSI__ */
-
/* TODO: Maximum number of open handles has not been tested, I just set
* it the same as FOPEN_MAX. */
#define HANDLE_MAX FOPEN_MAX
#endif /* Not RC_INVOKED */
#endif /* _IO_H_ not defined */
-
-#endif /* Not strict ANSI */
-
*
* mem.h maps to string.h
*/
-#ifndef __STRICT_ANSI__
#include <string.h>
-#endif
*
* memory.h maps to the standard string.h header.
*/
-#ifndef __STRICT_ANSI__
-#include <string.h>
-#endif
+#include <string.h>
*
*/
-#ifndef __STRICT_ANSI__
-
#ifndef _PROCESS_H_
#define _PROCESS_H_
#endif /* _PROCESS_H_ not defined */
#endif /* Not __STRICT_ANSI__ */
-
_CRTIMP void __cdecl qsort (void*, size_t, size_t,
int (*)(const void*, const void*));
-#ifndef __STRICT_ANSI__
_CRTIMP void* __cdecl _lfind (const void*, const void*, unsigned int*,
unsigned int, int (*)(const void*, const void*));
_CRTIMP void* __cdecl _lsearch (const void*, void*, unsigned int*, unsigned int,
_CRTIMP void* __cdecl lsearch (const void*, void*, unsigned int*, unsigned int,
int (*)(const void*, const void*));
#endif
-#endif /* __STRICT_ANSI__ */
#ifdef __cplusplus
}
*
*/
-#ifndef __STRICT_ANSI__
-
#ifndef _SHARE_H_
#define _SHARE_H_
#define _SH_DENYRD 0x30 /* Deny read */
#define _SH_DENYNO 0x40 /* Deny nothing */
-#ifndef __STRICT_ANSI__
-
#ifndef _NO_OLDNAMES
/* Non ANSI names */
#endif /* Not _NO_OLDNAMES */
-#endif /* Not __STRICT_ANSI__ */
-
#endif /* Not _SHARE_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
*
* This fcntl.h maps to the root fcntl.h
*/
-#ifndef __STRICT_ANSI__
+
#include <fcntl.h>
-#endif
* This file.h maps to the root fcntl.h
* TODO?
*/
-#ifndef __STRICT_ANSI__
#include <fcntl.h>
-#endif
*
*/
-#ifndef __STRICT_ANSI__
-
#ifndef _LOCKING_H_
#define _LOCKING_H_
#endif /* Not NO_OLDNAMES */
#endif /* Not _LOCKING_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
#include <sys/types.h>
#include <limits.h>
-#ifndef __STRICT_ANSI__
/* These are useful for cross-compiling */
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234
#define MAXPATHLEN PATH_MAX
#endif
-
-#endif
*
*/
-#ifndef __STRICT_ANSI__
-
#ifndef _STAT_H_
#define _STAT_H_
#endif /* Not RC_INVOKED */
#endif /* Not _STAT_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
#include <time.h>
-#ifndef __STRICT_ANSI__
#ifndef _TIMEVAL_DEFINED /* also in winsock[2].h */
#define _TIMEVAL_DEFINED
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__ */
*
*/
-#ifndef __STRICT_ANSI__
-
#ifndef _TIMEB_H_
#define _TIMEB_H_
#endif /* Not RC_INVOKED */
#endif /* Not _TIMEB_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
#endif
-#ifndef __STRICT_ANSI__
-
#ifndef _OFF_T_
#define _OFF_T_
typedef long _off_t;
#endif
#endif /* Not _SSIZE_T_ */
-#endif /* Not __STRICT_ANSI__ */
-
#endif /* Not RC_INVOKED */
#endif /* Not _TYPES_H_ */
*
* unistd.h maps (roughly) to io.h
*/
-#ifndef __STRICT_ANSI__
#include <io.h>
-#endif
-
* $Date$
*
*/
-
-#ifndef __STRICT_ANSI__
-
#ifndef _UTIME_H_
#define _UTIME_H_
#endif /* Not RC_INVOKED */
#endif /* Not _UTIME_H_ */
-
-#endif /* Not __STRICT_ANSI__ */
-
* unistd.h maps (roughly) to io.h
*/
-#ifndef __STRICT_ANSI__
+#ifndef _UNISTD_H
+#define _UNISTD_H
#include <io.h>
#include <process.h>
#include <getopt.h>
#undef __UNISTD_GETOPT__
-#endif
-
+#endif /* _UNISTD_H */