replace define '#if FFTW3==1' --> '#ifdef WITH_FFTW3'
[blender.git] / intern / smoke / intern / WTURBULENCE.cpp
index 9934e3017cf6f4d1c24db6c1fc7b67dbc4e7aa3a..cd18cf7b34441f53d7f8378b940c82a65862ed0a 100644 (file)
@@ -155,7 +155,7 @@ void WTURBULENCE::setNoise(int type)
        if(type == (1<<1)) // FFT
        {
                // needs fft
-               #if FFTW3==1
+               #ifdef WITH_FFTW3
                std::string noiseTileFilename = std::string("noise.fft");
                generatTile_FFT(_noiseTile, noiseTileFilename);
                #endif