Changeset b4ff97e for src/synth


Ignore:
Timestamp:
Mar 14, 2017, 5:50:33 AM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
sampler
Children:
388c2e7
Parents:
ea3a113
Message:

src/synth/sampler.c: check if we have pthread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/synth/sampler.c

    rea3a113 rb4ff97e  
    2929#include "synth/sampler.h"
    3030
     31#ifdef HAVE_PTHREAD_H
    3132#define HAVE_THREADS 1
    32 #define READER_THREAD_ON 1
    33 #if 0
    34 #undef HAVE_THREADS
    35 #endif
    36 
    37 #ifdef HAVE_THREADS
    3833#include <pthread.h>
     34#else
     35// FIXME add support for threading on windows
     36#warning "compiling sampler without threading"
    3937#endif
    4038
Note: See TracChangeset for help on using the changeset viewer.