X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fdecode_binobj.cxx;h=41880e1257a80c839a43911207835c47a4f0ff3a;hb=adb7db9229db1d869b254ac18f1471bed464c508;hp=3088393bb4a34efc9861a26a8add0c8ee7332048;hpb=2a2e2716bdfbecb3494ab935171ed6224a178470;p=simgear.git diff --git a/simgear/io/decode_binobj.cxx b/simgear/io/decode_binobj.cxx index 3088393b..41880e12 100644 --- a/simgear/io/decode_binobj.cxx +++ b/simgear/io/decode_binobj.cxx @@ -4,11 +4,16 @@ #include +#ifndef _WIN32 #include +#endif + #include #include +#include #include "sg_binobj.hxx" +#include using std::cout; using std::endl; @@ -21,6 +26,9 @@ int main( int argc, char **argv ) { if ( argc != 2 ) { cout << "Usage: " << argv[0] << " binary_obj_file" << endl; } + + + sglog().setLogLevels( SG_ALL, SG_ALERT ); SGBinObject obj; bool result = obj.read_bin( argv[1] );