1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/libraries/boost/cygwin-1.40.0-cstdint-cygwin.patch

21 lines
509 B
Diff

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__