Changeset 8b42c7d for tests


Ignore:
Timestamp:
Apr 23, 2016, 6:35:52 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:
25e2001
Parents:
ad1ffb5
Message:

tests/utils_tests.h: make sure M_PI and RAND_MAX are defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/utils_tests.h

    rad1ffb5 r8b42c7d  
    1616#define PRINT_DBG(format, args...)   fprintf(stderr, format , ##args)
    1717#define PRINT_WRN(format, args...)   fprintf(stderr, "AUBIO-TESTS WARNING: " format, ##args)
     18#endif
     19
     20#ifndef M_PI
     21#define M_PI         (3.14159265358979323846)
     22#endif
     23
     24#ifndef RAND_MAX
     25#define RAND_MAX 32767
    1826#endif
    1927
Note: See TracChangeset for help on using the changeset viewer.