1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/multimedia/libde265/files/patch-libde265_util.h
2015-07-22 16:32:05 +00:00

12 lines
403 B
C++

--- libde265/util.h.orig 2015-07-22 16:48:18.032493000 +0200
+++ libde265/util.h 2015-07-22 16:48:43.439129000 +0200
@@ -70,7 +70,7 @@
namespace std { using namespace std::tr1; }
#endif
-#if __GNUC__ && GCC_VERSION < 40600
+#if __GNUC__ && GCC_VERSION < 40600 && !defined(__clang__)
// nullptr was introduced in gcc 4.6, a simple alias should be fine for our use case
#define nullptr NULL
#endif