]> git.ipfire.org Git - thirdparty/curl.git/commit
curl/system.h: fix for GCC 3.3.x and older
authorViktor Szakats <commit@vsz.me>
Thu, 17 Jul 2025 16:13:37 +0000 (18:13 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 17 Jul 2025 22:54:34 +0000 (00:54 +0200)
commit2d4e166b650956fb85b01dd2b82df820c9164ecf
tree983c44e8f5d8ab71b9783b3b57e0fec26edc44b6
parent1a441c3c0a8d12d7cd110775712e2a9dc59fa3bf
curl/system.h: fix for GCC 3.3.x and older

The guards implicitly and intentionally include clang, which reports
itself as GCC 4.2.1.

Ref: https://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Other-Builtins.html#Other-Builtins
Ref: https://www.haiku-os.org/guides/building/gcc-hybrid (Haiku uses gcc 2.95.3)

Follow-up to 909af1a43b5a7fed8b5a4ca145e39f46b2f50325 #16761

Reported-by: Schrijvers Luc
Fixes #17951
Closes #17954
include/curl/system.h