mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
detect GNU/kFreeBSD
see https://lists.debian.org/debian-bsd/2010/01/msg00125.html
This commit is contained in:
parent
da9c281d9a
commit
39f5a3a494
@ -1,7 +1,7 @@
|
||||
#ifndef I2PENDIAN_H__
|
||||
#define I2PENDIAN_H__
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(__FreeBSD_kernel__)
|
||||
#include <endian.h>
|
||||
#elif __FreeBSD__
|
||||
#include <sys/endian.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user