add freebsd version check
This commit is contained in:
parent
31f903ba3e
commit
e524b6e0c8
@ -2,11 +2,15 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sys/param.h>
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if __FreeBSD_version < 1301000
|
||||
#error libbsdtopo only works on FreeBSD 13.1 and later
|
||||
#endif
|
||||
|
||||
struct topo_desc;
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user