blob: 0c785b20b42db19fc10de074bb43ffdc3a575ed3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ag,v 1.1 2010/12/14 18:26:35 adam Exp $
--- include/vigra/cachedfileimage.hxx.orig 2010-10-30 19:45:49.000000000 +0000
+++ include/vigra/cachedfileimage.hxx
@@ -556,7 +556,7 @@ class NotifyingDirectionSelector;
template <class T, class Notify>
class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify>
{
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__clang__)
friend class Notify::self_type;
#else
friend typename Notify::self_type;
@@ -602,7 +602,7 @@ private:
template <class T, class Notify>
class NotifyingDirectionSelector<StridedArrayTag, T, Notify> {
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__clang__)
friend class Notify::self_type;
#else
friend typename Notify::self_type;
|