djgpp: Define WATT32_NO_OLDIES before including socket headers
authorJ.W. Jagersma <jwjagersma@gmail.com>
Sun, 25 Sep 2022 17:13:32 +0000 (19:13 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 29 Sep 2022 10:00:30 +0000 (12:00 +0200)
commit8ae74c5bc091e7388c082f090c1fde992c31320f
tree6190b9416d8392876a72da3537e2e66cfa343d10
parent651255941c49a5089dfc011f2abd636433da8b82
djgpp: Define WATT32_NO_OLDIES before including socket headers

If this macro is left undefined, Watt-32 will "helpfully" declare some
typedefs such as 'byte' and 'word' in the global namespace.  This broke
compilation of apps/s_client.c.

CLA: trivial

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19274)
include/internal/sockets.h