diff --git a/rogueviz/sag/cells.cpp b/rogueviz/sag/cells.cpp index af7f2e6d..8c5c6dd8 100644 --- a/rogueviz/sag/cells.cpp +++ b/rogueviz/sag/cells.cpp @@ -2,7 +2,9 @@ // Copyright (C) 2011-24 Zeno Rogue, see 'hyper.cpp' for details #include "../rogueviz.h" +#ifdef LINUX #include +#endif #include namespace rogueviz { @@ -75,6 +77,7 @@ struct sagdist_t { for(size_t i=0; i> old; @@ -103,8 +107,12 @@ struct sagdist_t { } void load(string fname) { + #ifdef LINUX if(format == 1) map(fname); if(format == 2) load_old(fname); + #else + load_old(fname); + #endif throw hr_exception("sagdist format unknown"); }