Redefine getpid() -> _getpid() only for MSVC
authorTanzinul Islam <tanzinul.islam@gmail.com>
Sat, 31 Jul 2021 17:28:34 +0000 (18:28 +0100)
committerTanzinul Islam <t_17_7@hotmail.com>
Sat, 31 Jul 2021 19:26:37 +0000 (20:26 +0100)
commitab98861e919b8f8f7fee3f2d44ef3b4b05908a25
tree610ea140c7b9b01fe6f7cf641b48cd4535c95796
parent2625807aff370830b55c0fb71b63357e8523733e
Redefine getpid() -> _getpid() only for MSVC

This was introduced in 814b5133e for MSVC. C++Builder doesn't need it.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/16192)
apps/lib/s_socket.c