Changeset 6010:809961cb6d51 in roaraudio


Ignore:
Timestamp:
04/27/14 04:33:03 (5 years ago)
Author:
phi
Branch:
default
Message:

make package build again on systems with old I²C implementation without I2C_SMBUS_I2C_BLOCK_BROKEN.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    r5958 r6010  
    930930test_const_defmake ROAR_HAVE_CONST_CLOCK_THREAD_CPUTIME_ID CLOCK_THREAD_CPUTIME_ID clockid_t CLOCK_THREAD_CPUTIME_ID -- time.h 
    931931test_const_defmake ROAR_HAVE_CONST_M_PI_2 M_PI_2 double M_PI_2 -- math.h 
     932test_const_defmake ROAR_HAVE_CONST_I2C_SMBUS_I2C_BLOCK_BROKEN I2C_SMBUS_I2C_BLOCK_BROKEN int I2C_SMBUS_I2C_BLOCK_BROKEN -- linux/i2c.h 
    932933 
    933934 
  • roard/include/driver.h

    r5961 r6010  
    115115#endif 
    116116 
    117 #if !defined(ROAR_WITHOUT_VIO_DSTR) && !defined(ROAR_WITHOUT_DCOMP_DMX) && defined(ROAR_HAVE_H_LINUX_I2C) && defined(ROAR_HAVE_H_LINUX_I2C_DEV) 
     117#if !defined(ROAR_WITHOUT_VIO_DSTR) && !defined(ROAR_WITHOUT_DCOMP_DMX) && defined(ROAR_HAVE_H_LINUX_I2C) && defined(ROAR_HAVE_H_LINUX_I2C_DEV) && defined(ROAR_HAVE_CONST_I2C_SMBUS_I2C_BLOCK_BROKEN) 
    118118#define ROAR_HAVE_DRIVER_I2CDMX 
    119119int driver_i2cdmx_open_vio  (struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh, struct roar_stream_server * sstream); 
Note: See TracChangeset for help on using the changeset viewer.