From: Maxim Kokryashkin via Tarantool-patches <tarantool-patches@dev.tarantool.org> To: tarantool-patches@dev.tarantool.org, imun@tarantool.org, skaplun@tarantool.org Subject: [Tarantool-patches] [PATCH luajit] symtab: check the _GNU_SOURCE definition Date: Wed, 18 May 2022 15:31:07 +0300 [thread overview] Message-ID: <20220518123108.45915-1-m.kokryashkin@tarantool.org> (raw) Now the `_GNU_SOURCE` in `lj_symtab.c` is only defined when it wasn't defined yet. That chnage fixes the macro redifinition warning. Part of tarantool/tarantool#5813 --- Branch: https://github.com/tarantool/luajit/tree/fckxorg/sysprof-rc-full-ci src/lj_symtab.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lj_symtab.c b/src/lj_symtab.c index 57045765..2b2b205b 100644 --- a/src/lj_symtab.c +++ b/src/lj_symtab.c @@ -7,7 +7,10 @@ #define lj_symtab_c #define LUA_CORE + +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include "lj_symtab.h" -- 2.36.1
next reply other threads:[~2022-05-18 12:31 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-05-18 12:31 Maxim Kokryashkin via Tarantool-patches [this message] 2022-05-18 12:31 ` [Tarantool-patches] [PATCH luajit] sysprof: replace `backtrace` with libunwind Maxim Kokryashkin via Tarantool-patches 2022-05-26 16:33 ` Igor Munkin via Tarantool-patches 2022-05-18 14:31 ` [Tarantool-patches] [PATCH luajit] symtab: check the _GNU_SOURCE definition Igor Munkin via Tarantool-patches 2022-05-19 5:25 ` Sergey Kaplun via Tarantool-patches 2022-05-26 16:30 ` Igor Munkin via Tarantool-patches
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220518123108.45915-1-m.kokryashkin@tarantool.org \ --to=tarantool-patches@dev.tarantool.org \ --cc=imun@tarantool.org \ --cc=max.kokryashkin@gmail.com \ --cc=skaplun@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH luajit] symtab: check the _GNU_SOURCE definition' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox