Changeset 1103:bb5ee2384821 in roaraudio for roarclients/roarfctest.c


Ignore:
Timestamp:
01/11/09 02:12:30 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

disable options needing libm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarfctest.c

    r956 r1103  
    2323 */ 
    2424 
     25#include <roaraudio.h>  /* libroar */ 
     26 
     27#ifdef ROAR_HAVE_LIBM 
     28 
    2529#include <math.h>       /* sin() */ 
    2630#include <stdio.h>      /* *printf*() */ 
    27 #include <roaraudio.h>  /* libroar */ 
    2831#include <libroardsp/libroardsp.h> 
    2932 
     
    131134} 
    132135 
     136#else 
     137int main (void) { 
     138 fprintf(stderr, "Error: No Math library support compiled in.\n"); 
     139 return 1; 
     140} 
     141#endif 
     142 
    133143//ll 
Note: See TracChangeset for help on using the changeset viewer.