Changeset 6144cef for examples


Ignore:
Timestamp:
Apr 23, 2016, 9:07:57 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:
cb796a3
Parents:
06cf47d
Message:

examples/utils.h: hack a solution for access() on windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.h

    r06cf47d r6144cef  
    3131#ifdef HAVE_UNISTD_H
    3232#include <unistd.h>             // for access
     33#elif defined(HAVE_WIN_HACKS)
     34#include <io.h>
     35#define access _access
     36#define F_OK   0
    3337#endif
    3438#ifdef HAVE_MATH_H
Note: See TracChangeset for help on using the changeset viewer.