summaryrefslogtreecommitdiff
blob: 46bc6de71672a168adda102941b863833284eaf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://bugs.gentoo.org/659840
--- a/port/cpl_vsil_curl.cpp
+++ b/port/cpl_vsil_curl.cpp
@@ -8617,8 +8617,10 @@
         if( poFSHandler )
             poFSHandler->ClearCache();
     }
-
+#if !defined(HAVE_CURL) || defined(CPL_MULTIPROC_STUB)
+#else
     VSICurlStreamingClearCache();
+#endif
 }
 
 #endif /* HAVE_CURL */