summaryrefslogtreecommitdiff
path: root/src/File.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-09-17 23:17:08 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-09-17 23:17:08 +0900
commitfa09dc9115c4d34da6c5797287ee2ba61d6f162e (patch)
tree6c90f7fb8dbb2ec30b179eedb9d470b24a04f2aa /src/File.cc
parent58f35a07a521e51e8fb09013af17b4689b09fd34 (diff)
Clean up if defined style
Diffstat (limited to 'src/File.cc')
-rw-r--r--src/File.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/File.cc b/src/File.cc
index ca3caf3a..b8bc1d90 100644
--- a/src/File.cc
+++ b/src/File.cc
@@ -250,7 +250,7 @@ bool File::renameTo(const std::string& dest)
bool File::utime(const Time& actime, const Time& modtime) const
{
-#if defined HAVE_UTIMES && !(defined __MINGW32__)
+#if defined(HAVE_UTIMES) && !defined(__MINGW32__)
struct timeval times[2] = {
{ actime.getTime(), 0 },
{ modtime.getTime(), 0 }