* 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:
parent
cfc26d93b5
commit
f8a024a81b
|
@ -1,3 +1,29 @@
|
|||
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.
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#ifndef _CONIO_H_
|
||||
#define _CONIO_H_
|
||||
|
||||
|
@ -69,5 +67,3 @@ _CRTIMP int __cdecl ungetch (int);
|
|||
#endif /* Not RC_INVOKED */
|
||||
|
||||
#endif /* Not _CONIO_H_ */
|
||||
|
||||
#endif /* Not __STRICT_ANSI__ */
|
||||
|
|
|
@ -24,9 +24,6 @@
|
|||
* $Date$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#ifndef _DIRECT_H_
|
||||
#define _DIRECT_H_
|
||||
|
||||
|
@ -90,6 +87,3 @@ _CRTIMP int __cdecl _wrmdir(const wchar_t*);
|
|||
#endif /* Not RC_INVOKED */
|
||||
|
||||
#endif /* Not _DIRECT_H_ */
|
||||
|
||||
#endif /* Not __STRICT_ANSI__ */
|
||||
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
* $Date$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#ifndef _DIRENT_H_
|
||||
#define _DIRENT_H_
|
||||
|
||||
|
@ -140,6 +137,3 @@ void __cdecl _wseekdir (_WDIR*, long);
|
|||
#endif /* Not RC_INVOKED */
|
||||
|
||||
#endif /* Not _DIRENT_H_ */
|
||||
|
||||
#endif /* Not __STRICT_ANSI__ */
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#ifndef _DOS_H_
|
||||
#define _DOS_H_
|
||||
|
||||
|
@ -105,6 +103,3 @@ _CRTIMP unsigned __cdecl _getdiskfree (unsigned, struct _diskfree_t *);
|
|||
#endif /* Not RC_INVOKED */
|
||||
|
||||
#endif /* Not _DOS_H_ */
|
||||
|
||||
#endif /* Not __STRICT_ANSI__ */
|
||||
|
||||
|
|
|
@ -34,8 +34,6 @@
|
|||
/* All the headers include this file. */
|
||||
#include <_mingw.h>
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#include <windef.h>
|
||||
|
||||
/*
|
||||
|
@ -118,6 +116,4 @@ typedef PEXCEPTION_REGISTRATION PEXCEPTION_REGISTRATION_RECORD;
|
|||
|
||||
#endif /* Not RC_INVOKED */
|
||||
|
||||
#endif /* Not strict ANSI */
|
||||
|
||||
#endif /* _EXCPT_H_ not defined */
|
||||
|
|
|
@ -24,9 +24,6 @@
|
|||
* $Date$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#ifndef _FCNTL_H_
|
||||
#define _FCNTL_H_
|
||||
|
||||
|
@ -86,6 +83,3 @@
|
|||
#endif /* Not _NO_OLDNAMES */
|
||||
|
||||
#endif /* Not _FCNTL_H_ */
|
||||
|
||||
#endif /* Not __STRICT_ANSI__ */
|
||||
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
* $Date$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#ifndef _IO_H_
|
||||
#define _IO_H_
|
||||
|
||||
|
@ -35,7 +32,6 @@
|
|||
/* 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. */
|
||||
|
||||
|
@ -162,8 +158,6 @@ _CRTIMP int __cdecl chmod (const char*, int);
|
|||
|
||||
#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
|
||||
|
@ -299,6 +293,3 @@ wchar_t * wmktemp(wchar_t *);
|
|||
#endif /* Not RC_INVOKED */
|
||||
|
||||
#endif /* _IO_H_ not defined */
|
||||
|
||||
#endif /* Not strict ANSI */
|
||||
|
||||
|
|
|
@ -3,6 +3,4 @@
|
|||
*
|
||||
* mem.h maps to string.h
|
||||
*/
|
||||
#ifndef __STRICT_ANSI__
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
|
|
@ -3,7 +3,5 @@
|
|||
*
|
||||
* memory.h maps to the standard string.h header.
|
||||
*/
|
||||
#ifndef __STRICT_ANSI__
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#ifndef _PROCESS_H_
|
||||
#define _PROCESS_H_
|
||||
|
||||
|
@ -156,4 +154,3 @@ _CRTIMP int __cdecl spawnvpe (int, const char*, const char* const*, const char*
|
|||
#endif /* _PROCESS_H_ not defined */
|
||||
|
||||
#endif /* Not __STRICT_ANSI__ */
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ _CRTIMP void* __cdecl bsearch (const void*, const void*, size_t, size_t,
|
|||
_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,
|
||||
|
@ -55,7 +54,6 @@ _CRTIMP void* __cdecl lfind (const void*, const void*, unsigned int*,
|
|||
_CRTIMP void* __cdecl lsearch (const void*, void*, unsigned int*, unsigned int,
|
||||
int (*)(const void*, const void*));
|
||||
#endif
|
||||
#endif /* __STRICT_ANSI__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#ifndef _SHARE_H_
|
||||
#define _SHARE_H_
|
||||
|
||||
|
@ -38,8 +36,6 @@
|
|||
#define _SH_DENYRD 0x30 /* Deny read */
|
||||
#define _SH_DENYNO 0x40 /* Deny nothing */
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#ifndef _NO_OLDNAMES
|
||||
|
||||
/* Non ANSI names */
|
||||
|
@ -50,9 +46,4 @@
|
|||
|
||||
#endif /* Not _NO_OLDNAMES */
|
||||
|
||||
#endif /* Not __STRICT_ANSI__ */
|
||||
|
||||
#endif /* Not _SHARE_H_ */
|
||||
|
||||
#endif /* Not __STRICT_ANSI__ */
|
||||
|
||||
|
|
|
@ -3,6 +3,5 @@
|
|||
*
|
||||
* This fcntl.h maps to the root fcntl.h
|
||||
*/
|
||||
#ifndef __STRICT_ANSI__
|
||||
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,4 @@
|
|||
* This file.h maps to the root fcntl.h
|
||||
* TODO?
|
||||
*/
|
||||
#ifndef __STRICT_ANSI__
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
|
|
@ -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__ */
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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__ */
|
||||
|
||||
|
|
|
@ -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__ */
|
||||
|
|
|
@ -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__ */
|
||||
|
||||
|
|
|
@ -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_ */
|
||||
|
|
|
@ -3,7 +3,4 @@
|
|||
*
|
||||
* unistd.h maps (roughly) to io.h
|
||||
*/
|
||||
#ifndef __STRICT_ANSI__
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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__ */
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* unistd.h maps (roughly) to io.h
|
||||
*/
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
#ifndef _UNISTD_H
|
||||
#define _UNISTD_H
|
||||
|
||||
#include <io.h>
|
||||
#include <process.h>
|
||||
|
@ -13,5 +14,4 @@
|
|||
#include <getopt.h>
|
||||
#undef __UNISTD_GETOPT__
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _UNISTD_H */
|
||||
|
|
Loading…
Reference in New Issue