mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
endian.h for different platforms
This commit is contained in:
parent
ff9f14d7a6
commit
8d3fcff5c5
@ -1,8 +1,12 @@
|
||||
#ifndef I2PENDIAN_H__
|
||||
#define I2PENDIAN_H__
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#elif __FreeBSD__
|
||||
#include <sys/endian.h>
|
||||
#elif __MACH__ // Mac OS X
|
||||
#include <machine/endian.h>
|
||||
#else
|
||||
#include <cstdint>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user