From: ishmal Date: Fri, 20 Apr 2007 17:51:12 +0000 (+0000) Subject: Switch from the HAVE_GETTIMEOFDAY option to NEED_GETTIMEOFDAY since most people have it. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=99ac48c3bfbbb38adfc161e2cd25571b4984c58d;p=inkscape.git Switch from the HAVE_GETTIMEOFDAY option to NEED_GETTIMEOFDAY since most people have it. --- diff --git a/buildtool.cpp b/buildtool.cpp index 9fd3e464c..6d1dd25a8 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -31,13 +31,14 @@ * 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 #include @@ -65,7 +66,7 @@ //######################################################################## //# Definition of gettimeofday() for those who don't have it //######################################################################## -#ifndef HAVE_GETTIMEOFDAY +#ifdef NEED_GETTIMEOFDAY #include struct timezone {