summaryrefslogtreecommitdiff
path: root/devel/libc++/files/extra-libmissing
blob: 18489c395b2a0997f6de676e7893b0fe857daea4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ./include/cmath.orig	2014-01-06 19:12:50.000000000 +0100
+++ ./include/cmath	2014-05-06 14:14:44.388681947 +0200
@@ -299,6 +299,7 @@
 
 #include <__config>
 #include <math.h>
+#include <missing_math.h>
 #include <type_traits>
 
 #ifdef _LIBCPP_MSVCRT
--- include/__locale.orig	2014-05-06 15:33:07.907356770 +0200
+++ include/__locale	2014-05-06 15:32:20.702360182 +0200
@@ -24,6 +24,9 @@
 #elif _AIX
 # include <support/ibm/xlocale.h>
 #elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun__)) || defined(__EMSCRIPTEN__) || defined(__IBMCPP__)
+# define __LONG_LONG_SUPPORTED
+# include <stdlib.h>
+# include <limits.h>
 # include <xlocale.h>
 #endif  // _WIN32 || __GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__ || __EMSCRIPTEN__ || __IBMCPP__