Changeset 861:292a83484609 in roaraudio for roarclients/roarvorbis.c


Ignore:
Timestamp:
09/30/08 13:21:54 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

only support HTTP streams if we have wget

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarvorbis.c

    r719 r861  
    5454#ifdef ROAR_HAVE_LIBVORBISFILE 
    5555FILE * open_http (char * file) { 
     56#ifdef ROAR_HAVE_BIN_WGET 
    5657 char cmd[1024]; 
    5758 
    58  snprintf(cmd, 1023, "wget -qO - '%s'", file); 
     59 snprintf(cmd, 1023, ROAR_HAVE_BIN_WGET " -qO - '%s'", file); 
    5960 
    6061 return popen(cmd, "r"); 
     62#else 
     63 return NULL; 
     64#endif 
    6165} 
    6266 
Note: See TracChangeset for help on using the changeset viewer.