From b084685bba42cc78b92f558a22da294475746660 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 8 Oct 2007 07:54:54 +0000 Subject: [PATCH] Force C99 mode. --- lib/quad_tile/extconf.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/quad_tile/extconf.rb b/lib/quad_tile/extconf.rb index c7fc1b899..2264a3e0f 100644 --- a/lib/quad_tile/extconf.rb +++ b/lib/quad_tile/extconf.rb @@ -1,3 +1,5 @@ require "mkmf" -create_makefile("quad_tile_so") +with_cflags("-std=c99 #{$CFLAGS}") do + create_makefile("quad_tile_so") +end -- 2.39.5