mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03: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__
|
#ifndef I2PENDIAN_H__
|
||||||
#define I2PENDIAN_H__
|
#define I2PENDIAN_H__
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined(__linux__) || defined(__FreeBSD_kernel__)
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#elif __FreeBSD__
|
#elif __FreeBSD__
|
||||||
#include <sys/endian.h>
|
#include <sys/endian.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user