1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/date/prereq.mk
nobu d618f7b79a zonetab.h: use strncmp
* ext/date/zonetab.h (zonetab): use strncmp.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-01 08:52:43 +00:00

8 lines
218 B
Makefile

.SUFFIXES: .list
.list.h:
gperf -E -C -c -P -p -j1 -i 1 -g -o -t -N $(*F) $< \
| sed 's/(int)(long)&((\(struct stringpool_t\) *\*)0)->\(stringpool_[a-z0-9]*\)/offsetof(\1, \2)/g' \
> $(@F)
zonetab.h: zonetab.list