mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 12:31:13 +01:00
sys/cdefs.h: Add comments to make #if/#else/#endif triple more obvious
This block has a lot of nesting, not helped by two adjacent nested blocks involving _POSIX_C_SOURCE, with only the inner one commented, looking like it's the end of the outer one. Comment the outer one as well so it's not quite so hard to figure out. MFC after: 1 week
This commit is contained in:
parent
780f289297
commit
7a3af393d8
@ -596,7 +596,7 @@
|
||||
#undef __ISO_C_VISIBLE
|
||||
#define __ISO_C_VISIBLE 2011
|
||||
#endif
|
||||
#else
|
||||
#else /* _POSIX_C_SOURCE */
|
||||
/*-
|
||||
* Deal with _ANSI_SOURCE:
|
||||
* If it is defined, and no other compilation environment is explicitly
|
||||
@ -640,7 +640,7 @@
|
||||
#define __ISO_C_VISIBLE 2023
|
||||
#define __EXT1_VISIBLE 1
|
||||
#endif
|
||||
#endif
|
||||
#endif /* _POSIX_C_SOURCE */
|
||||
|
||||
/* User override __EXT1_VISIBLE */
|
||||
#if defined(__STDC_WANT_LIB_EXT1__)
|
||||
|
Loading…
Reference in New Issue
Block a user