зеркало из https://github.com/github/ruby.git
* regparse.c (PFETCH_READY): separate gcc specific trick.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
8bce84fe5d
Коммит
c09f46301b
|
@ -1,3 +1,7 @@
|
|||
Mon Dec 5 19:08:04 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* regparse.c (PFETCH_READY): separate gcc specific trick.
|
||||
|
||||
Mon Dec 5 19:01:59 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* process.c (proc_seteuid_m): fix argument.
|
||||
|
|
|
@ -258,7 +258,12 @@ strdup_with_null(OnigEncoding enc, UChar* s, UChar* end)
|
|||
/* scan pattern methods */
|
||||
#define PEND_VALUE 0
|
||||
|
||||
#ifderf __GNUC__
|
||||
/* get rid of Wunused-but-set-variable */
|
||||
#define PFETCH_READY UChar* pfetch_prev = pfetch_prev
|
||||
#else
|
||||
#define PFETCH_READY UChar* pfetch_prev
|
||||
#endif
|
||||
#define PEND (p < end ? 0 : 1)
|
||||
#define PUNFETCH p = pfetch_prev
|
||||
#define PINC do { \
|
||||
|
|
Загрузка…
Ссылка в новой задаче