mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
Adjust FreeBSD version check to follow FreeBSD Porter's Handbook
http://www.freebsd.org/doc/en/books/porters-handbook/porting-versions.html
This commit is contained in:
parent
b6ac8d62a1
commit
1f7d9f4f7b
@ -47,8 +47,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__) && (__FreeBSD__ >= 2)
|
||||||
/* Needed to check FreeBSD version */
|
/* Needed for __FreeBSD_version symbol definition */
|
||||||
#include <osreldate.h>
|
#include <osreldate.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -71,7 +71,8 @@
|
|||||||
require it! */
|
require it! */
|
||||||
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
|
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
|
||||||
defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
|
defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
|
||||||
defined(ANDROID) || (defined(__FreeBSD__) && __FreeBSD_version < 800000)
|
defined(ANDROID) || \
|
||||||
|
(defined(__FreeBSD_version) && (__FreeBSD_version < 800000))
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user