diff options
author | Andreas Schuh <andreas.schuh.84@gmail.com> | 2013-04-21 03:38:25 +0100 |
---|---|---|
committer | Andreas Schuh <andreas.schuh.84@gmail.com> | 2013-04-21 03:38:25 +0100 |
commit | f7e89ba9ea82ed2a79413b7c323bca79ac26c747 (patch) | |
tree | a4add1fe324564701df2fa2feb7a848855b62b56 /src/gflags.cc | |
parent | 3624d33ae5d8b4bc5dd0880a0c2b5d87124c9e3c (diff) | |
download | gflags-f7e89ba9ea82ed2a79413b7c323bca79ac26c747.tar.gz gflags-f7e89ba9ea82ed2a79413b7c323bca79ac26c747.tar.bz2 gflags-f7e89ba9ea82ed2a79413b7c323bca79ac26c747.zip |
Move public header files to src/ subdirectory. Copy them to <prefix>/include/<ns>/ upon installation.
Diffstat (limited to 'src/gflags.cc')
-rw-r--r-- | src/gflags.cc | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/gflags.cc b/src/gflags.cc index dc82547..6c3c93e 100644 --- a/src/gflags.cc +++ b/src/gflags.cc @@ -87,18 +87,14 @@ // other hand, hooks into CommandLineFlagParser. Other API functions // are, similarly, mostly hooks into the functionality described above. -// This comes first to ensure we define __STDC_FORMAT_MACROS in time. -#include <config.h> -#if HAVE_INTTYPES_H && !defined(__STDC_FORMAT_MACROS) -# define __STDC_FORMAT_MACROS 1 // gcc requires this to get PRId64, etc. -#endif +#include "config.h" +#include "gflags.h" -#include <gflags/gflags.h> #include <assert.h> #include <ctype.h> #include <errno.h> #if HAVE_FNMATCH_H -# include <fnmatch.h> +# include <fnmatch.h> #endif #include <stdarg.h> // For va_list and related operations #include <stdio.h> @@ -109,13 +105,10 @@ #include <string> #include <utility> // for pair<> #include <vector> + #include "mutex.h" #include "util.h" -#ifndef PATH_SEPARATOR -# define PATH_SEPARATOR '/' -#endif - // Special flags, type 1: the 'recursive' flags. They set another flag's val. DEFINE_string(flagfile, "", |