OSDN Git Service
(root)
/
putex
/
putex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01bf7d3
)
fixed malloc_usable_size on Mac OS X.
author
maqiyuan
<maqiyuan@users.sourceforge.jp>
Tue, 22 Jul 2014 13:56:48 +0000
(21:56 +0800)
committer
maqiyuan
<maqiyuan@users.sourceforge.jp>
Tue, 22 Jul 2014 13:56:48 +0000
(21:56 +0800)
src/texsourc/local.c
patch
|
blob
|
history
diff --git
a/src/texsourc/local.c
b/src/texsourc/local.c
index
4fa5547
..
2e9ebe2
100644
(file)
--- a/
src/texsourc/local.c
+++ b/
src/texsourc/local.c
@@
-29,8
+29,10
@@
#define REALLOC realloc
#endif
-#if
def __ANDROID__
+#if
defined (__ANDROID__)
#define malloc_usable_size dlmalloc_usable_size
+#elif defined (__APPLE__)
+ #define malloc_usable_size malloc_size
#endif
#if defined (__clang__)