summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3fa80b9)
raw | patch | inline | side by side (parent: 3fa80b9)
author | ishmal <ishmal@users.sourceforge.net> | |
Fri, 20 Apr 2007 17:51:12 +0000 (17:51 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Fri, 20 Apr 2007 17:51:12 +0000 (17:51 +0000) |
buildtool.cpp | patch | blob | history |
diff --git a/buildtool.cpp b/buildtool.cpp
index 9fd3e464caaade8943787aa5bc1852e12442c402..6d1dd25a8795f0a920d576bc27d204492d8eaa28 100644 (file)
--- a/buildtool.cpp
+++ b/buildtool.cpp
* or
* btool {target}
*
- * Note: recent win32api builds from MinGW have gettimeofday()
- * defined, so you might need to build with
- * g++ -O3 -DHAVE_GETTIMEOFDAY buildtool.cpp -o btool.exe
+ * Note: if you are using MinGW, and a not very recent version of it,
+ * gettimeofday() might be missing. If so, just build this file with
+ * this command:
+ * g++ -O3 -DNEED_GETTIMEOFDAY buildtool.cpp -o btool.exe
*
*/
-#define BUILDTOOL_VERSION "BuildTool v0.6.11, 2007 Bob Jamison"
+#define BUILDTOOL_VERSION "BuildTool v0.6.12, 2007 Bob Jamison"
#include <stdio.h>
#include <fcntl.h>
//########################################################################
//# Definition of gettimeofday() for those who don't have it
//########################################################################
-#ifndef HAVE_GETTIMEOFDAY
+#ifdef NEED_GETTIMEOFDAY
#include <sys/timeb.h>
struct timezone {