diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-12-31 23:02:34 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-12-31 23:02:34 (GMT) |
commit | 3f1cb83f4b267db351842ed2a9e2640fac3045db (patch) | |
tree | 4a99e11d8eca6aed33e32fe5933332ae94f246fe /tests/dumptest.cc | |
parent | 3d686118bbced68f9a9af69339e2998b28139756 (diff) |
various tweaks for cross compiling tests under mingw
Diffstat (limited to 'tests/dumptest.cc')
-rw-r--r-- | tests/dumptest.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/dumptest.cc b/tests/dumptest.cc index f7179d7..f83a993 100644 --- a/tests/dumptest.cc +++ b/tests/dumptest.cc @@ -45,7 +45,6 @@ #include <iostream> #include <sstream> #include <fstream> -#include <stdio.h> using std::string; @@ -66,10 +65,9 @@ string dumptree(const Tree &tree, const AbstractNode &node) int main(int argc, char **argv) { -#ifdef WIN32 +#ifdef _MSC_VER _set_output_format(_TWO_DIGIT_EXPONENT); #endif - if (argc != 3) { fprintf(stderr, "Usage: %s <file.scad> <output.txt>\n", argv[0]); exit(1); |