about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/boost/cygwin-1.40.0-cstdint-cygwin.patch
blob: 61791c60d9e078bf1151f798134f85a905de0e2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
These were fixed in ~1.7.0-46

--- boost_1_40_0/boost/cstdint.hpp	2009-01-14 04:18:19.000000000 -0600
+++ boost_1_40_0/boost/cstdint.hpp	2009-08-27 23:41:34.063543700 -0500
@@ -40,15 +40,6 @@
 #   include <inttypes.h>
 # else
 #   include <stdint.h>
-
-// There is a bug in Cygwin two _C macros
-#   if defined(__STDC_CONSTANT_MACROS) && defined(__CYGWIN__)
-#     undef INTMAX_C
-#     undef UINTMAX_C
-#     define INTMAX_C(c) c##LL
-#     define UINTMAX_C(c) c##ULL
-#   endif
-
 # endif
 
 #ifdef __QNX__