vcpkg/ports/gppanel/use-complex-header.patch
autoantwort d6aff8080a
[gppanel] use supports expression (#25348)
* [gppanel] use supports expression

* fix osx build

* fix license
2022-06-23 13:53:51 -07:00

15 lines
556 B
Diff

diff --git a/include/Fourier.h b/include/Fourier.h
index af55d2a..4283be8 100644
--- a/include/Fourier.h
+++ b/include/Fourier.h
@@ -13,7 +13,8 @@
//==============================================================================
// FORWARD DECLARATION
//==============================================================================
-namespace std { template<class T> class complex; }
+#include <complex>
+
#define SQUARE(real,imag) sqrt((real)*(real)+(imag)*(imag))
//==============================================================================