From 8477f3174eb9d2cf4e43af222c7bbb6dfd006827 Mon Sep 17 00:00:00 2001 From: Andreas Schuh Date: Sat, 15 Mar 2014 14:15:33 +0000 Subject: Fix build with Xcode 5, system checks, set LANGUAGE to CXX. --- src/gflags.cc | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'src/gflags.cc') diff --git a/src/gflags.cc b/src/gflags.cc index b273ddc..0e6ea7d 100644 --- a/src/gflags.cc +++ b/src/gflags.cc @@ -93,7 +93,7 @@ #include #include #include -#if HAVE_FNMATCH_H +#ifdef HAVE_FNMATCH_H # include #endif #include // For va_list and related operations @@ -111,20 +111,16 @@ // Special flags, type 1: the 'recursive' flags. They set another flag's val. -DEFINE_string(flagfile, "", - "load flags from file"); -DEFINE_string(fromenv, "", - "set flags from the environment" - " [use 'export FLAGS_flag1=value']"); -DEFINE_string(tryfromenv, "", - "set flags from the environment if present"); +DEFINE_string(flagfile, "", "load flags from file"); +DEFINE_string(fromenv, "", "set flags from the environment" + " [use 'export FLAGS_flag1=value']"); +DEFINE_string(tryfromenv, "", "set flags from the environment if present"); // Special flags, type 2: the 'parsing' flags. They modify how we parse. -DEFINE_string(undefok, "", - "comma-separated list of flag names that it is okay to specify " - "on the command line even if the program does not define a flag " - "with that name. IMPORTANT: flags in this list that have " - "arguments MUST use the flag=value format"); +DEFINE_string(undefok, "", "comma-separated list of flag names that it is okay to specify " + "on the command line even if the program does not define a flag " + "with that name. IMPORTANT: flags in this list that have " + "arguments MUST use the flag=value format"); namespace GFLAGS_NAMESPACE { -- cgit v1.2.3