TS-1820 Make it compile on FC19/20.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/b3e3f0e0 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/b3e3f0e0 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/b3e3f0e0 Branch: refs/heads/sphinx-docs Commit: b3e3f0e06e842136d6dc29e602769f9d68dc1aea Parents: 16df6a2 Author: Leif Hedstrom <[email protected]> Authored: Thu Apr 25 13:46:00 2013 -0600 Committer: Leif Hedstrom <[email protected]> Committed: Thu Apr 25 13:46:00 2013 -0600 ---------------------------------------------------------------------- lib/ts/ink_defs.h | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b3e3f0e0/lib/ts/ink_defs.h ---------------------------------------------------------------------- diff --git a/lib/ts/ink_defs.h b/lib/ts/ink_defs.h index 4f5439b..5df5dcc 100644 --- a/lib/ts/ink_defs.h +++ b/lib/ts/ink_defs.h @@ -29,14 +29,18 @@ #include <stddef.h> #ifdef HAVE_STDINT_H -#define __STDC_LIMIT_MACROS 1 +# ifndef __STDC_LIMIT_MACROS +# define __STDC_LIMIT_MACROS 1 +# endif # include <stdint.h> #else // TODO: Add "standard" int types? #endif #ifdef HAVE_INTTYPES_H -# define __STDC_FORMAT_MACROS 1 +# ifndef __STDC_FORMAT_MACROS +# define __STDC_FORMAT_MACROS 1 +# endif # include <inttypes.h> #else // TODO: add PRI*64 stuff?
