Mercurial > hg > Members > kono > os9 > sbc09
changeset 150:da020c491fbb
add more fmemopen mess
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 17 Jan 2019 08:17:11 +0900 |
parents | 2f71506f980f |
children | ef5959682d03 |
files | src/Makefile src/vdisk.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Makefile Thu Jan 17 07:51:13 2019 +0900 +++ b/src/Makefile Thu Jan 17 08:17:11 2019 +0900 @@ -12,7 +12,7 @@ # CFLAGS=-O3 -fomit-frame-pointer -DTERM_CONTROL CFLAGS=-g -DTERM_CONTROL -V09FLAGS= -DUSE_TERMIOS #-DBIG_ENDIAN +V09FLAGS= -DUSE_TERMIOS # -DNOFMEMOPEN -DBIG_ENDIAN SIM_BIN=v09s v09st
--- a/src/vdisk.c Thu Jan 17 07:51:13 2019 +0900 +++ b/src/vdisk.c Thu Jan 17 08:17:11 2019 +0900 @@ -256,7 +256,7 @@ return mode; } -#if defined(__DARWIN_C_LEVEL) && __DARWIN_C_LEVEL < 200809L +#ifdef NOFMEMOPEN FILE *fmemopen(char *buf,long sz, const char *mode) { static char fname[] = "/tmp/myfileXXXXXX";