[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to write directly to config.h from configure?
From: |
Warren Young |
Subject: |
Re: How to write directly to config.h from configure? |
Date: |
Thu, 26 Jul 2018 11:20:06 -0600 |
On Jul 26, 2018, at 9:36 AM, Jeffrey Walton <address@hidden> wrote:
>
> cat << EOT >> config.h
> typedef unsigned char byte;
> typedef unsigned short word16;
> typedef unsigned int word32;
> EOT
You’re reinventing C99’s stdint.h here. Unless you still must build on C89 or
older compilers, you should just switch.
I get supporting old compilers — I often need to support C++ compilers 10 years
old or more — but C89 should be safe to drop in most projects by now.