You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
3c11254f66
dev ack via email git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@80060 d073be05-634f-4543-b044-5fe20cf6d1d6
28 lines
539 B
Diff
28 lines
539 B
Diff
--- lex.c.orig 2011-07-03 09:55:09.000000000 -0700
|
|
+++ lex.c 2011-07-03 09:55:52.000000000 -0700
|
|
@@ -10,7 +10,11 @@ struct kwtable {const char *name; int id
|
|
/* maximum key range = 50, duplicates = 0 */
|
|
|
|
#ifdef __GNUC__
|
|
+#ifdef __GNUC_STDC_INLINE__
|
|
+static inline
|
|
+#else
|
|
__inline
|
|
+#endif
|
|
#else
|
|
#ifdef __cplusplus
|
|
inline
|
|
@@ -66,8 +70,12 @@ hash (str, len)
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
+#ifdef __GNUC_STDC_INLINE__
|
|
+static inline
|
|
+#else
|
|
__inline
|
|
#endif
|
|
+#endif
|
|
struct kwtable *
|
|
rb_reserved_word (str, len)
|
|
register const char *str;
|