|
From: | Paul Eggert |
Subject: | Re: OpenVMS needs __UNIX_PUTC macro defined for configure tests. |
Date: | Thu, 6 Jul 2017 15:04:30 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Bruno Haible wrote:
I guess that this would not work: #include <stdio.h> #include "unlocked-io.h" would not make the unlocked IO routines visible, because <stdio.h> gets skipped when it gets included a second time. Right?
If we treat __UNIX_PUTC like we treat _GNU_SOURCE then we should be OK, since __UNIX_PUTC will be defined in config.h and thus the first <stdio.h> will see it.
[Prev in Thread] | Current Thread | [Next in Thread] |