summaryrefslogtreecommitdiff
path: root/package/mysql/patches/patch-include_my_global_h
blob: 37c22fd7a1e2f0cb5b81b55e421751cd9ebbd79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- mysql-5.6.22.orig/include/my_global.h	2014-11-20 23:39:51.000000000 -0600
+++ mysql-5.6.22/include/my_global.h	2014-12-26 10:33:04.736371139 -0600
@@ -769,11 +769,7 @@ inline unsigned long long my_double2ulon
   #define my_isnan(X) std::isnan(X)
   #define my_isinf(X) std::isinf(X)
 #else
-  #ifdef HAVE_LLVM_LIBCPP /* finite is deprecated in libc++ */
-    #define my_isfinite(X) isfinite(X)
-  #else
-    #define my_isfinite(X) finite(X)
-  #endif
+  #define my_isfinite(X) isfinite(X)
   #define my_isnan(X) isnan(X)
   #ifdef HAVE_ISINF
     /* System-provided isinf() is available and safe to use */