mirror of
https://github.com/lovell/sharp.git
synced 2025-07-14 12:50:12 +02:00
Allow compilation of v0.23.x on FreeBSD and variants (#1952)
This commit is contained in:
parent
69050ef1c8
commit
9baf38db44
@ -38,6 +38,9 @@
|
|||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#define STAT64_STRUCT stat
|
#define STAT64_STRUCT stat
|
||||||
#define STAT64_FUNCTION stat
|
#define STAT64_FUNCTION stat
|
||||||
|
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
|
||||||
|
#define STAT64_STRUCT stat
|
||||||
|
#define STAT64_FUNCTION stat
|
||||||
#else
|
#else
|
||||||
#define STAT64_STRUCT stat64
|
#define STAT64_STRUCT stat64
|
||||||
#define STAT64_FUNCTION stat64
|
#define STAT64_FUNCTION stat64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user