Merge pull request #180 from jdgleaver/osx-fix

Fix OSX compilation
This commit is contained in:
Autechre 2020-12-14 18:23:07 +01:00 committed by GitHub
commit 3fd6466728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,10 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#ifndef _WIN32
# include <unistd.h>
#endif
#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE 1