Remove a.out defines in OpenBSD and NetBSD mkspec
OpenBSD made the switch from a.out to ELF with release 3.4, published 2003, see http://www.openbsd.org/34.html. In preparation to cleaning up the mkspecs for OpenBSD, remove the a.out defines as only recent versions of OpenBSD (5.8 onward) will be supported. NetBSD switched from a.out to ELF file format with release 1.5, see https://www.netbsd.org/releases/formal-1.5/NetBSD-1.5.html in the year 2000. Remove the defines for older a.out systems now as we are at release 7.0 and only 6.0 onwards releases are currently supported anyway. While cleaning up, remove the old comments for QT_SOCKLEN_T values of outdated OpenBSD and NetBSD releases as well. Change-Id: I8519eab7bcd4af19c0e9f628657878f32b2bd602 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
5f3a262a73
commit
4fb2b74119
@ -72,16 +72,7 @@
|
||||
#undef QT_OPEN_LARGEFILE
|
||||
#define QT_OPEN_LARGEFILE 0
|
||||
|
||||
// QT_SOCKLEN_T
|
||||
// NetBSD 1.0 - 1.3.3 int
|
||||
// NetBSD 1.4 - 1.5 socklen_t
|
||||
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
|
||||
// Older NetBSD versions may still use the a.out format instead of ELF.
|
||||
#ifndef __ELF__
|
||||
#define QT_AOUT_UNDERSCORE
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
||||
|
@ -73,16 +73,7 @@
|
||||
#undef QT_OPEN_LARGEFILE
|
||||
#define QT_OPEN_LARGEFILE 0
|
||||
|
||||
// QT_SOCKLEN_T
|
||||
// OpenBSD 2.2 - 2.4 int
|
||||
// OpenBSD 2.5 - 2.8 socklen_t
|
||||
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
|
||||
// Older OpenBSD versions may still use the a.out format instead of ELF.
|
||||
#ifndef __ELF__
|
||||
#define QT_AOUT_UNDERSCORE
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
||||
|
Loading…
Reference in New Issue
Block a user