diff --git a/ext/bootsnap/extconf.rb b/ext/bootsnap/extconf.rb index e7c1160..c730440 100644 --- a/ext/bootsnap/extconf.rb +++ b/ext/bootsnap/extconf.rb @@ -6,7 +6,7 @@ have_func "fdatasync", "unistd.h" unless RUBY_PLATFORM.match?(/mswin|mingw|cygwin/) - append_cppflags ["_GNU_SOURCE"] # Needed of O_NOATIME + append_cppflags ["-D_GNU_SOURCE"] # Needed of O_NOATIME end append_cflags ["-O3", "-std=c99"]