public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: Simon Zeni <[email protected]>, [email protected]
Subject: Re: [PATCH v2] Fix compilation with iso C standard (c89, c99 and c11)
Date: Wed, 28 Oct 2020 21:01:05 -0600	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

On 10/28/20 7:19 PM, Simon Zeni wrote:
> - References to the compiler extension `typeof` have been changed to
> `__typeof__` for portability. See [GCC's documentation][1] about
> `typeof`.
> 
> - Added the definition `_POSIX_C_SOURCE` in the source files that are
> using functions not defined in by the POSIX standard, fixing a few
> occurences of `sigset_t` not being defined.
> 
> - Added the definition `_DEFAULT_SOURCE` in `setup.c` and
> `syscall.c` for respectively the `madvise` function (`posix_madvise` exists,
> but there is not equivalent for`MADV_DONTFORK`), and `syscall`.
> 
> [1]: https://gcc.gnu.org/onlinedocs/gcc/Typeof.html

Thanks, applied.

-- 
Jens Axboe


      reply	other threads:[~2020-10-29  7:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29  1:19 [PATCH v2] Fix compilation with iso C standard (c89, c99 and c11) Simon Zeni
2020-10-29  3:01 ` Jens Axboe [this message]

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 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox