summaryrefslogtreecommitdiff
path: root/src/misc/getopt.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-08-22 19:11:58 -0400
committerRich Felker <dalias@aerifal.cx>2018-08-22 19:11:58 -0400
commit184ef36f85d66583306413727fc5f39557d391e4 (patch)
treebd29313bae91879960ac27fbdd032b474346b4fe /src/misc/getopt.c
parent767f7a1091af3a3dcee2f7a49d0713359a81961c (diff)
downloadmusl-184ef36f85d66583306413727fc5f39557d391e4.tar.gz
fix FP_ILOGB0 and FP_ILOGBNAN definitions to be valid for use in #if
commit 98c9af500125df41fdb46d7e384b00982d72493a wrongly claimed they do not need to be valid for such usage, but the last sentence of C11 7.1.4 ΒΆ1 imposes a broad requirement that all macros specified as integer constant expressions also need to be valid for #if. simply write the value out explicitly. there is no value here in pretending that the width of int will vary.
Diffstat (limited to 'src/misc/getopt.c')
0 files changed, 0 insertions, 0 deletions