diff options
author | Gael Guennebaud <g.gael@free.fr> | 2019-10-08 09:15:17 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2019-10-08 09:15:17 +0200 |
commit | 87427d2eaa90bbc1c12eedecca95554d93c3c212 (patch) | |
tree | 80afa4fb6964154d46e42b877b2888122bbec70d /test/main.h | |
parent | 7a43af1a335da2c0489b4119a33ee1cbff0c15d6 (diff) |
PR 719: fix real/imag namespace conflict
Diffstat (limited to 'test/main.h')
-rw-r--r-- | test/main.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/main.h b/test/main.h index 4c1733b1f..54553f742 100644 --- a/test/main.h +++ b/test/main.h @@ -91,6 +91,11 @@ #define isfinite(X) please_protect_your_isfinite_with_parentheses #endif + +// test possible conflicts +struct real {}; +struct imag {}; + #ifdef M_PI #undef M_PI #endif |