Add initial support for python bindings
[alexxy/gromacs.git] / cmake / TestFFTW2.c
1 #ifdef DFFTW
2 #include <dfftw.h>
3 #endif
4
5 #ifdef SFFTW
6 #include <sfftw.h>
7 #endif
8
9 #ifdef FFTW
10 #include <fftw.h>
11 #endif
12
13 int
14 main()
15 {
16 #ifdef DOUBLE
17   /* Cause a compile-time error if fftw_real is not double */
18   int _array_ [1 - 2 * !((sizeof(fftw_real)) == sizeof(double))];
19 #else
20   /* Cause a compile-time error if fftw_real is not float */
21   int _array_ [1 - 2 * !((sizeof(fftw_real)) == sizeof(float))]; 
22 #endif
23   return 0;
24 }