From 7aa083cd7eb9e7104b4fdacc4bf8857def49b927 Mon Sep 17 00:00:00 2001 From: Anton Smirnov Date: Fri, 5 Feb 2016 15:41:18 +0300 Subject: [PATCH] use c11 --- ext/journald_native/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/journald_native/extconf.rb b/ext/journald_native/extconf.rb index 925133d..18ec9a0 100644 --- a/ext/journald_native/extconf.rb +++ b/ext/journald_native/extconf.rb @@ -8,7 +8,7 @@ LIB_DIRS = [LIBDIR] dir_config('systemd', HEADER_DIRS, LIB_DIRS) -$CFLAGS = '-std=c99' +$CFLAGS = '-std=c11' def have_funcs # check functions. redefine const list in sd_journal.h if changed