Skip to content

Commit 0c3cc51

Browse files
authored
Merge pull request #284 from k-okada/fix_free
In eus.h, macro to define free() to substitute cfree() is added for Linux and Linux64, since cfree() is made obsolete in 2018.
2 parents 4d76a3f + debff57 commit 0c3cc51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/c/eus.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ typedef float eusfloat_t;
4141
#define USE_STDARG
4242
#endif
4343

44-
#ifdef Darwin
44+
#if defined(Darwin) || defined(Linux) || defined(Linux64)
4545
#define cfree free
4646
#endif
4747

0 commit comments

Comments
 (0)