summaryrefslogtreecommitdiff
path: root/ext/io/console/depend
diff options
context:
space:
mode:
Diffstat (limited to 'ext/io/console/depend')
-rw-r--r--ext/io/console/depend2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/depend b/ext/io/console/depend
index d69a0b3aef..821b28d3fc 100644
--- a/ext/io/console/depend
+++ b/ext/io/console/depend
@@ -26,7 +26,7 @@ win32_vk.inc: win32_vk.list
-e 'puts(%[#ifndef #{n}\n# define #{n} UNDEFINED_VK\n#endif])' \
$< && \
gperf --ignore-case -E -C -P -p -j1 -i 1 -g -o -t -K ofs -N console_win32_vk -k* $< \
- | sed 's/(int)(long)&((\(struct stringpool_t\) *\*)0)->\(stringpool_[a-z0-9]*\)/offsetof(\1, \2)/g' \
+ | sed -f $(top_srcdir)/tool/gperf.sed \
) > $(@F)
.SUFFIXES: .chksum .list .inc