Skip to content

Commit e93e9f0

Browse files
author
Michael Kipper
committed
Compile in C99 mode
1 parent 1a01c92 commit e93e9f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/semian/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
have_func 'rb_thread_blocking_region'
2424
have_func 'rb_thread_call_without_gvl'
2525

26-
$CFLAGS = "-D_GNU_SOURCE -Werror -Wall "
26+
$CFLAGS = "-D_GNU_SOURCE -Werror -Wall -std=gnu99 "
2727
if ENV.key?('DEBUG')
2828
$CFLAGS << "-O0 -g -DDEBUG"
2929
else

0 commit comments

Comments
 (0)