Skip to content

Instantly share code, notes, and snippets.

@jpcima
Created January 6, 2018 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpcima/4b8a413a9d024c018e3c3cfe92d3fc24 to your computer and use it in GitHub Desktop.
Save jpcima/4b8a413a9d024c018e3c3cfe92d3fc24 to your computer and use it in GitHub Desktop.
--- fftw3.h.orig 2018-01-06 10:10:22.761362301 +0100
+++ fftw3.h 2018-01-06 10:11:38.086398149 +0100
@@ -54,6 +54,7 @@
{
#endif /* __cplusplus */
+#if !defined(FFTW_DEFINE_COMPLEX)
/* If <complex.h> is included, use the C99 complex type. Otherwise
define a type bit-compatible with C99 complex */
#if !defined(FFTW_NO_Complex) && defined(_Complex_I) && defined(complex) && defined(I)
@@ -61,6 +62,7 @@
#else
# define FFTW_DEFINE_COMPLEX(R, C) typedef R C[2]
#endif
+#endif // !defined(FFTW_DEFINE_COMPLEX)
#define FFTW_CONCAT(prefix, name) prefix ## name
#define FFTW_MANGLE_DOUBLE(name) FFTW_CONCAT(fftw_, name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment