diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-26 20:09:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-26 20:09:11 +0200 |
commit | 92c098d18e435a7a762409744ebe2dbb3746ed77 (patch) | |
tree | f40f79621fd985c2cb126ef75be1399ab7b39d1c /src/if_ruby.c | |
parent | 285b189260e2d753454449e429f2caa17e1c39a5 (diff) | |
download | vim-git-92c098d18e435a7a762409744ebe2dbb3746ed77.tar.gz |
patch 8.2.0828: Travis: regexp patttern doesn't work everywherev8.2.0828
Problem: Travis: regexp patttern doesn't work everywhere.
Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r-- | src/if_ruby.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c index e989c0133..6773a2a38 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -100,7 +100,8 @@ #endif // On macOS pre-installed Ruby defines "SIZEOF_TIME_T" as "SIZEOF_LONG" so it -// conflicts with the definition in config.h then causes macro-redifned warning. +// conflicts with the definition in config.h then causes a macro-redefined +// warning. #ifdef SIZEOF_TIME_T # undef SIZEOF_TIME_T #endif @@ -113,6 +114,11 @@ # include <st.h> // for ST_STOP and ST_CONTINUE #endif +// See above. +#ifdef SIZEOF_TIME_T +# undef SIZEOF_TIME_T +#endif + #undef off_t // ruby defines off_t as _int64, Mingw uses long #undef EXTERN #undef _ |