]> git.ipfire.org Git - thirdparty/curl.git/commit
system.h: assume OS400 is always built with ILEC compiler
authorJay Satiro <raysatiro@yahoo.com>
Fri, 20 Jan 2023 23:37:44 +0000 (18:37 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 21 Jan 2023 20:08:23 +0000 (15:08 -0500)
commit3feb6b46a287f21c0a3afe4b1e7b348a0d789d78
tree2764b7eb0cf722edd1a482de6bd6383cd74d8b3c
parentac6e7f5689c35cf22b9ebc9ecec48524d5c2f587
system.h: assume OS400 is always built with ILEC compiler

Prior to this change the OS400 types were only defined when __ILEC400__.
That symbol is only defined by IBM's C compiler and not their C++
compiler, which led to missing types when users on OS400 would compile a
C++ application that included curl.

The IBM C and C++ compilers are the only native compilers on the
platform.

Assisted-by: Jon Rumsey
Reported-by: John Sherrill
Fixes https://github.com/curl/curl/issues/10305
Closes https://github.com/curl/curl/pull/10329
include/curl/system.h