Commit 4749f5d9

4749f5d9dc75Merged

Yukihiro "Matz" Matsumoto <[email protected]> · 8 months ago · 1 file · ~1 modified

Description

Simplify strscan.c: use system oniguruma.h directly

Co-Authored-By: Claude Opus 4.6 (1M context) [email protected]

Details

Commit
4749f5d9dc75
Parent
4c3d1e6266de

lib/strscan.cmodifiedView file

@@ -11,12 +11,7 @@
1111 #include <stdlib.h>
1212 #include <string.h>
1313 #include <stdint.h>
14-/* Use Ruby's oniguruma header if standalone not available */
15-#if __has_include(<oniguruma.h>)
1614 #include <oniguruma.h>
17-#else
18-#include <ruby/oniguruma.h>
19-#endif
2015
2116 typedef struct {
2217 const char *source; /* original string (not owned) */