From cc31c4c7fb0c400490c12f993abb567f20bc305e Mon Sep 17 00:00:00 2001
From: "svoj@mysql.com" <>
Date: Wed, 8 Jun 2005 21:07:25 +0500
Subject: [PATCH] Fix for BUG#10675 - MySQL fails to build with --openssl on
 Mac OS X 10.4 BUG#11150 - HP-UX yaSSL/OpenSSL configure/header problem Remove
 obsolete code.

---
 include/my_global.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/my_global.h b/include/my_global.h
index f24bcd528ca..e2a97667a1f 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -248,13 +248,7 @@ C_MODE_END
 # endif
 #endif /* TIME_WITH_SYS_TIME */
 #ifdef HAVE_UNISTD_H
-#if defined(HAVE_OPENSSL) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(__OpenBSD__)
-#define crypt unistd_crypt
-#endif
 #include <unistd.h>
-#ifdef HAVE_OPENSSL
-#undef crypt
-#endif
 #endif
 #if defined(__cplusplus) && defined(NO_CPLUSPLUS_ALLOCA)
 #undef HAVE_ALLOCA