Changeset 3ff50e5 for src/aubio_priv.h


Ignore:
Timestamp:
Aug 12, 2015, 6:01:26 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
5c58032
Parents:
df7be43
Message:

src/aubio_priv.h: define PI if M_PI isnt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    rdf7be43 r3ff50e5  
    129129#define AUBIO_SPRINTF                sprintf
    130130
    131 /* Libc shortcuts */
     131/* pi and 2*pi */
     132#ifndef M_PI
     133#define PI         (3.14159265358979323846)
     134#else
    132135#define PI         (M_PI)
     136#endif
    133137#define TWO_PI     (PI*2.)
    134138
Note: See TracChangeset for help on using the changeset viewer.