 #include "math/cudak/oskar_cudaf_sinc.h"
 #include <math.h>
 
-#define PI_OVER_C     1.0479225109758409060653E-8  // pi / c
-#define PI_OVER_Cf    1.0479225109758409060653E-8f // pi / c
 #define ONE_OVER_2PI  0.159154943091895335768884   // 1 / (2 * pi)
 #define ONE_OVER_2PIf 0.159154943091895335768884f  // 1 / (2 * pi)
 
 #ifndef M_PI
 #define M_PI 3.14159265358979323846
+#endif
+
+#ifndef M_PIf
+#define M_PIf 3.14159265358979323846f
 #endif
 
 // Indices into the visibility/baseline matrix.


        // Modify the baseline UV-distance to include the common components
        // of the bandwidth smearing term.
        uu *= PI_OVER_Cf * bandwidth / freq;
        vv *= PI_OVER_Cf * bandwidth / freq;
    }
    __syncthreads();



        // Modify the baseline UV-distance to include the common components
        // of the bandwidth smearing term.
        uu *= M_PI * bandwidth / freq;
        vv *= M_PI * bandwidth / freq;
    }
    __syncthreads();

