Changeset 023aa32


Ignore:
Timestamp:
May 13, 2016, 2:25:59 PM (4 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:
da632d3
Parents:
0e70ef9
Message:

src/aubio_priv.h: if compiling with -std=c99, use defines for strnlen and floorf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    r0e70ef9 r023aa32  
    290290#endif
    291291
     292/* are we using gcc -std=c99 ? */
     293#if defined(__STRICT_ANSI__)
     294#define strnlen(a,b) MIN(strlen(a),b)
     295#if !HAVE_AUBIO_DOUBLE
     296#define floorf floor
     297#endif
     298#endif /* __STRICT_ANSI__ */
     299
    292300#endif /* AUBIO_PRIV_H */
Note: See TracChangeset for help on using the changeset viewer.