Mercurial > hg > Members > kono > os9 > sbc09
changeset 149:2f71506f980f
fmemopen mess
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 17 Jan 2019 07:51:13 +0900 |
parents | fa0fbcbccbc9 |
children | da020c491fbb |
files | src/vdisk.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/vdisk.c Thu Jan 17 07:43:13 2019 +0900 +++ b/src/vdisk.c Thu Jan 17 07:51:13 2019 +0900 @@ -256,7 +256,7 @@ return mode; } -#ifndef fmemopen +#if defined(__DARWIN_C_LEVEL) && __DARWIN_C_LEVEL < 200809L FILE *fmemopen(char *buf,long sz, const char *mode) { static char fname[] = "/tmp/myfileXXXXXX";