Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6144e42
)
THRIFT-91. cpp: Fix compilation on Fedora Core 9
author
David Reiss
<dreiss@apache.org>
Fri, 25 Jul 2008 19:48:39 +0000
(19:48 +0000)
committer
David Reiss
<dreiss@apache.org>
Fri, 25 Jul 2008 19:48:39 +0000
(19:48 +0000)
It turns out that __STDC_LIMIT_MACROS is not portable.
Include limits.h at least until cstdint becomes mainstream.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@679885
13f79535
-47bb-0310-9956-
ffa450edef68
compiler/cpp/src/thrifty.yy
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/thrifty.yy
b/compiler/cpp/src/thrifty.yy
index
f4ff6ef
..
e5f1736
100644
(file)
--- a/
compiler/cpp/src/thrifty.yy
+++ b/
compiler/cpp/src/thrifty.yy
@@
-17,6
+17,7
@@
#define __STDC_FORMAT_MACROS
#include <stdio.h>
#include <inttypes.h>
+#include <limits.h>
#include "main.h"
#include "globals.h"
#include "parse/t_program.h"