mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -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 <limits.h>
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
/* Needed to check FreeBSD version */
|
||||
#if defined(__FreeBSD__) && (__FreeBSD__ >= 2)
|
||||
/* Needed for __FreeBSD_version symbol definition */
|
||||
#include <osreldate.h>
|
||||
#endif
|
||||
|
||||
@ -71,7 +71,8 @@
|
||||
require it! */
|
||||
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
|
||||
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>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user