a ton of changes to fix the production directory. formerly this directory $FEISTY_ME...
[feisty_meow.git] / nucleus / applications / utilities / time_running_app.cpp
index 7e61906bb6cf3c6179a5d24525944cb044de3268..19bdbafaf40a71937df591137c049d31c3640898 100644 (file)
 
 #include <stdio.h>
 
+#ifdef __WIN32__
+  #include <io.h>
+#endif
+
 using namespace application;
 using namespace basis;
 using namespace loggers;
@@ -53,7 +57,7 @@ int time_running_app::execute()
   int test_runs = 10000;
 
   time_stamp start;  // start of test.
-  astring bins = environment::get("FEISTY_MEOW_DIR") + "/production/binaries";
+  astring bins = environment::get("$BINDIR");
   astring app = bins + "/example_application";
   // save real stdout.
   int real_stdout = dup(1);