[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenVMS needs __UNIX_PUTC macro defined for configure tests.
From: |
Bruno Haible |
Subject: |
Re: OpenVMS needs __UNIX_PUTC macro defined for configure tests. |
Date: |
Fri, 07 Jul 2017 09:43:04 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-83-generic; KDE/5.18.0; x86_64; ; ) |
John E. Malmberg wrote:
> I found out what the issue is. The OpenVMS stdio.h file makes the
> unlocked IO routines only available as macros. There is no declaration.
>
> Configure detects the macros, and that there is no declaration of them.
>
> The unlocked-io.h since the HAVE_DECL_FPUTS_UNLOCKED is not defined,
> redefines the "fputc_unlocked" to not work.
>
> So unlocked-io.h would need to be modified to not replace the OpenVMS
> stdio.h macros if they exist.
OK, can you provide a patch to m4/unlocked-io.m4 and/or lib/unlocked-io.h?
Bruno