forked from lthn/blockchain
Fixed build for macos
This commit is contained in:
parent
a239f62a99
commit
125a7be3c5
1 changed files with 3 additions and 1 deletions
|
|
@ -132,8 +132,10 @@ extern int cacheflush(char *addr, int nbytes, int cache);
|
|||
|
||||
#ifdef _WIN32
|
||||
typedef int64_t off64_t;
|
||||
#elif __APPLE__
|
||||
typedef off_t off64_t;
|
||||
#else
|
||||
//typedef off_t off64_t;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue