1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[ruby] #undef _GNU_SOURCE (warnings)

This commit is contained in:
Witold Filipczyk 2022-01-15 17:56:00 +01:00
parent 36a4fc1c2f
commit 1e365c9798
3 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@
#include "config.h"
#endif
#undef _GNU_SOURCE
#include <ruby.h>
#include <ruby/version.h>

View File

@ -1,7 +1,7 @@
#ifndef EL__SCRIPTING_RUBY_CORE_H
#define EL__SCRIPTING_RUBY_CORE_H
#undef _GNU_SOURCE
#include <ruby.h> /* for VALUE */
#ifdef __cplusplus

View File

@ -4,6 +4,7 @@
#include "config.h"
#endif
#undef _GNU_SOURCE
#include <ruby.h>
#include "elinks.h"