Changeset 023aa32 for src


Ignore:
Timestamp:
May 13, 2016, 2:25:59 PM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, 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.