From 3bb47bc1f5fc048e68168db5063fdcd2177a10e7 Mon Sep 17 00:00:00 2001 From: CNLohr Date: Tue, 14 Mar 2017 20:45:17 -0400 Subject: Update with the start of things to make TCC go in Windows. --- src/survive_cal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/survive_cal.c b/src/survive_cal.c index ce8fd89..23226cf 100755 --- a/src/survive_cal.c +++ b/src/survive_cal.c @@ -347,8 +347,11 @@ static void handle_calibration( struct SurviveCalData *cd ) //Either advance to stage 4 or go resetting will go back to stage 2. //What is stage 4? Are we done then? - +#ifdef WINDOWS + mkdir( "calinfo" ); +#else mkdir( "calinfo", 0755 ); +#endif FILE * hists = fopen( "calinfo/histograms.csv", "w" ); FILE * ptinfo = fopen( "calinfo/ptinfo.csv", "w" ); int sen, axis, lh; -- cgit v1.2.3