From 746f806bb39b5cd5b5d46e47b1434f42a6469551 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 18 Dec 2020 10:02:18 -0800 Subject: [PATCH] SCP: Merge minor changes from Supnik-Current branch --- makefile | 16 ++++++++-------- sim_fio.c | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/makefile b/makefile index afec4b1d..084c26d8 100644 --- a/makefile +++ b/makefile @@ -2099,6 +2099,14 @@ ATT3B2M400 = ${ATT3B2D}/3b2_400_cpu.c ${ATT3B2D}/3b2_400_sys.c \ ${ATT3B2D}/3b2_ni.c ATT3B2_OPT = -DUSE_INT64 -DUSE_ADDR64 -I ${ATT3B2D} ${NETWORK_OPT} +SIGMAD = ${SIMHD}/sigma +SIGMA = ${SIGMAD}/sigma_cpu.c ${SIGMAD}/sigma_sys.c ${SIGMAD}/sigma_cis.c \ + ${SIGMAD}/sigma_coc.c ${SIGMAD}/sigma_dk.c ${SIGMAD}/sigma_dp.c \ + ${SIGMAD}/sigma_fp.c ${SIGMAD}/sigma_io.c ${SIGMAD}/sigma_lp.c \ + ${SIGMAD}/sigma_map.c ${SIGMAD}/sigma_mt.c ${SIGMAD}/sigma_pt.c \ + ${SIGMAD}/sigma_rad.c ${SIGMAD}/sigma_rtc.c ${SIGMAD}/sigma_tt.c +SIGMA_OPT = -I ${SIGMAD} + ### ### Experimental simulators ### @@ -2118,14 +2126,6 @@ CDC1700_OPT = -I ${CDC1700D} ### Unsupported/Incomplete simulators ### -SIGMAD = ${SIMHD}/sigma -SIGMA = ${SIGMAD}/sigma_cpu.c ${SIGMAD}/sigma_sys.c ${SIGMAD}/sigma_cis.c \ - ${SIGMAD}/sigma_coc.c ${SIGMAD}/sigma_dk.c ${SIGMAD}/sigma_dp.c \ - ${SIGMAD}/sigma_fp.c ${SIGMAD}/sigma_io.c ${SIGMAD}/sigma_lp.c \ - ${SIGMAD}/sigma_map.c ${SIGMAD}/sigma_mt.c ${SIGMAD}/sigma_pt.c \ - ${SIGMAD}/sigma_rad.c ${SIGMAD}/sigma_rtc.c ${SIGMAD}/sigma_tt.c -SIGMA_OPT = -I ${SIGMAD} - ALPHAD = ${SIMHD}/alpha ALPHA = ${ALPHAD}/alpha_500au_syslist.c ${ALPHAD}/alpha_cpu.c \ ${ALPHAD}/alpha_ev5_cons.c ${ALPHAD}/alpha_ev5_pal.c \ diff --git a/sim_fio.c b/sim_fio.c index 69a5c8c3..8b45a8e2 100644 --- a/sim_fio.c +++ b/sim_fio.c @@ -568,7 +568,7 @@ if ((stbuf.st_mode & S_IFIFO)) { return -1; } -#if defined (__linux__) || defined (__APPLE__) +#if defined (__linux__) || defined (__APPLE__) || defined (__CYGWIN__) || defined (__FreeBSD__) #include struct SHMEM {