diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2007-04-20 17:51:12 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2007-04-20 17:51:12 +0000 |
| commit | f026e5e28602f651c07741a48ac17acf0d2e3259 (patch) | |
| tree | 25124cafc520d8c00be6a49449886c229a7da116 /buildtool.cpp | |
| parent | Say "skipped" when copying a single file is not necessary (diff) | |
| download | inkscape-f026e5e28602f651c07741a48ac17acf0d2e3259.tar.gz inkscape-f026e5e28602f651c07741a48ac17acf0d2e3259.zip | |
Switch from the HAVE_GETTIMEOFDAY option to NEED_GETTIMEOFDAY since most people have it.
(bzr r2939)
Diffstat (limited to 'buildtool.cpp')
| -rw-r--r-- | buildtool.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
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 <stdio.h> #include <fcntl.h> @@ -65,7 +66,7 @@ //######################################################################## //# Definition of gettimeofday() for those who don't have it //######################################################################## -#ifndef HAVE_GETTIMEOFDAY +#ifdef NEED_GETTIMEOFDAY #include <sys/timeb.h> struct timezone { |
