Browse Source

src/wave.cpp: fix building when portaudio.h is missing

master
Reece H. Dunn 11 years ago
parent
commit
5f8762ae91
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/wave.cpp

+ 1
- 1
src/wave.cpp View File

#include <sys/time.h> #include <sys/time.h>
#include <time.h> #include <time.h>


#include "portaudio.h"
#ifndef PLATFORM_WINDOWS #ifndef PLATFORM_WINDOWS
#include <unistd.h> #include <unistd.h>
#endif #endif
enum {ONE_BILLION=1000000000}; enum {ONE_BILLION=1000000000};


#ifdef USE_PORTAUDIO #ifdef USE_PORTAUDIO
#include "portaudio.h"


#undef USE_PORTAUDIO #undef USE_PORTAUDIO
// determine portaudio version by looking for a #define which is not in V18 // determine portaudio version by looking for a #define which is not in V18

Loading…
Cancel
Save