Skip to content

Commit cfe3037

Browse files
embhornclaude
andcommitted
Fix .wolfssl_known_macro_extras ordering and add __unix__
Sort was failing because IN_CLOEXEC and O_CLOEXEC were placed before sibling names where '_' sorts after uppercase letters in LC_ALL=C order. Move them into the correct positions and register __unix__, which is now referenced by the new cloexec wrapper guards. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 356bb59 commit cfe3037

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.wolfssl_known_macro_extras

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,9 @@ ID_TRNG
317317
IGNORE_KEY_EXTENSIONS
318318
IGNORE_NETSCAPE_CERT_TYPE
319319
INCLUDE_uxTaskGetStackHighWaterMark
320-
IN_CLOEXEC
321320
INTEGRITY
322321
INTIMEVER
322+
IN_CLOEXEC
323323
IOTSAFE_NO_GETDATA
324324
IOTSAFE_SIG_8BIT_LENGTH
325325
KCAPI_USE_XMALLOC
@@ -471,7 +471,6 @@ NO_WOLFSSL_XILINX_TAG_MALLOC
471471
NRF52
472472
NRF52_SERIES
473473
NRF_ERROR_MODULE_ALREADY_INITIALIZED
474-
O_CLOEXEC
475474
OLD_HELLO_ALLOWED
476475
OPENSSL_EXTRA_BSD
477476
OPENSSL_EXTRA_NO_ASN1
@@ -480,6 +479,7 @@ OPENSSL_NO_PK
480479
OS_WINDOWS
481480
OTHERBOARD
482481
OTHER_BOARD
482+
O_CLOEXEC
483483
PEER_INFO
484484
PERF_FLAG_FD_CLOEXEC
485485
PKA_ECC_SCALAR_MUL_IN_B_COEFF
@@ -1122,6 +1122,7 @@ __sun
11221122
__svr4__
11231123
__thumb__
11241124
__ti__
1125+
__unix__
11251126
__x86_64__
11261127
__xtensa__
11271128
byte

0 commit comments

Comments
 (0)