diff options
author | Woody Hawthorne <erhawthorne@gmail.com> | 2015-11-15 19:35:13 +1100 |
---|---|---|
committer | Woody Hawthorne <erhawthorne@gmail.com> | 2015-11-15 20:00:32 +1100 |
commit | c5daa2f62f27e0eaf84368bed0d2d47f58687d7d (patch) | |
tree | 16e8a19d057be166760a261165212e97860c40f2 /src/gmisc | |
parent | 10c047d0c0afd82f49695c598732df5ad12c0d08 (diff) | |
download | uGFX-c5daa2f62f27e0eaf84368bed0d2d47f58687d7d.tar.gz uGFX-c5daa2f62f27e0eaf84368bed0d2d47f58687d7d.tar.bz2 uGFX-c5daa2f62f27e0eaf84368bed0d2d47f58687d7d.zip |
Fix (potential) compiler warnings about redefining PI
Diffstat (limited to 'src/gmisc')
-rw-r--r-- | src/gmisc/gmisc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gmisc/gmisc.h b/src/gmisc/gmisc.h index 8f858682..ebef8156 100644 --- a/src/gmisc/gmisc.h +++ b/src/gmisc/gmisc.h @@ -75,7 +75,9 @@ typedef int32_t fixed; /** * @brief The famous number pi */ +#ifndef PI #define PI 3.1415926535897932384626433832795028841971693993751 +#endif /** * @brief pi as a fixed point |