diff options
author | CNLohr <lohr85@gmail.com> | 2017-03-14 20:45:17 -0400 |
---|---|---|
committer | CNLohr <lohr85@gmail.com> | 2017-03-14 20:45:17 -0400 |
commit | 3bb47bc1f5fc048e68168db5063fdcd2177a10e7 (patch) | |
tree | 04b7f1817493ea025cb0978465de53c85f3dc1c3 /src | |
parent | 0a2550249f9523dca974a79b51b5a7358b5fb943 (diff) | |
download | libsurvive-3bb47bc1f5fc048e68168db5063fdcd2177a10e7.tar.gz libsurvive-3bb47bc1f5fc048e68168db5063fdcd2177a10e7.tar.bz2 |
Update with the start of things to make TCC go in Windows.
Diffstat (limited to 'src')
-rwxr-xr-x | src/survive_cal.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |