summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndreas Schuh <andreas.schuh.84@gmail.com>2014-03-15 14:15:33 +0000
committerAndreas Schuh <andreas.schuh.84@gmail.com>2014-03-15 14:15:33 +0000
commit8477f3174eb9d2cf4e43af222c7bbb6dfd006827 (patch)
tree8ecb8a8cdbd749d2828c7def8583604d53ac160b /test
parentf0f565fb0f28b9a658e546eecf8e4847eac6a45c (diff)
downloadgflags-8477f3174eb9d2cf4e43af222c7bbb6dfd006827.tar.gz
gflags-8477f3174eb9d2cf4e43af222c7bbb6dfd006827.tar.bz2
gflags-8477f3174eb9d2cf4e43af222c7bbb6dfd006827.zip
Fix build with Xcode 5, system checks, set LANGUAGE to CXX.
Diffstat (limited to 'test')
-rw-r--r--test/gflags_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gflags_unittest.cc b/test/gflags_unittest.cc
index a2a033a..5604cb1 100644
--- a/test/gflags_unittest.cc
+++ b/test/gflags_unittest.cc
@@ -39,9 +39,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif // for unlink()
+#ifdef GFLAGS_HAVE_UNISTD_H
+# include <unistd.h> // for unlink()
+#endif
#include <vector>
#include <string>
#include "util.h"