4284585
# see https://github.com/Beep6581/RawTherapee/issues/5177
4284585
diff --git a/rtengine/demosaic_algos.cc b/rtengine/demosaic_algos.cc
4284585
index 617feb3b4..7339981e5 100644
4284585
--- a/rtengine/demosaic_algos.cc
4284585
+++ b/rtengine/demosaic_algos.cc
4284585
@@ -388,7 +388,7 @@ void RawImageSource::jdl_interpolate_omp()  // from "Lassus"
4284585
     }
4284585
 
4284585
 #ifdef _OPENMP
4284585
-    #pragma omp parallel default(none) shared(image,width,height,u,w,v,y,x,z,dif,chr) private(row,col,f,g,indx,c,d,i)
4284585
+    #pragma omp parallel shared(image,width,height,u,w,v,y,x,z,dif,chr) private(row,col,f,g,indx,c,d,i)
4284585
 #endif
4284585
     {
4284585
 #ifdef _OPENMP
4284585
@@ -1159,7 +1159,7 @@ void RawImageSource::igv_interpolate(int winw, int winh)
4284585
     }
4284585
 
4284585
 #ifdef _OPENMP
4284585
-    #pragma omp parallel default(none) shared(rgb,vdif,hdif,chr)
4284585
+    #pragma omp parallel shared(rgb,vdif,hdif,chr)
4284585
 #endif
4284585
     {
4284585
         __m128 ngv, egv, wgv, sgv, nvv, evv, wvv, svv, nwgv, negv, swgv, segv, nwvv, nevv, swvv, sevv, tempv, temp1v, temp2v, temp3v, temp4v, temp5v, temp6v, temp7v, temp8v;
4284585
@@ -1548,7 +1548,7 @@ void RawImageSource::igv_interpolate(int winw, int winh)
4284585
     }
4284585
 
4284585
 #ifdef _OPENMP
4284585
-    #pragma omp parallel default(none) shared(rgb,vdif,hdif,chr)
4284585
+    #pragma omp parallel shared(rgb,vdif,hdif,chr)
4284585
 #endif
4284585
     {