CryptoPkg/OpensslLib: Eliminate GETPID_IS_MEANINGLESS definition

OpenSSL ought to work this out for itself when OPENSSL_SYS_UEFI is set.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Reviewed-by: Qin Long <qin.long@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18707 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
David Woodhouse
2015-10-29 14:17:23 +00:00
committed by qlong
parent 3b21958bf2
commit 97468ab902
2 changed files with 13 additions and 2 deletions

View File

@@ -361,6 +361,18 @@ diff U3 crypto/opensslconf.h crypto/opensslconf.h
#define CONFIG_HEADER_BN_H
#undef BN_LLONG
diff U3 e_os.h e_os.h
--- e_os.h Thu Jul 09 19:57:16 2015
+++ e_os.h Thu Oct 29 16:54:10 2015
@@ -136,7 +136,7 @@
# define MSDOS
# endif
-# if defined(MSDOS) && !defined(GETPID_IS_MEANINGLESS)
+# if (defined(MSDOS) || defined(OPENSSL_SYS_UEFI)) && !defined(GETPID_IS_MEANINGLESS)
# define GETPID_IS_MEANINGLESS
# endif
diff U3 e_os2.h e_os2.h
--- e_os2.h Thu Jul 09 19:57:16 2015
+++ e_os2.h Thu Oct 29 15:08:19 2015