Arduino DUE and MS5611-01BA I2C library

Dear All,

I have some problems in porting some routines I did for using MS5611 pressure captor over I2C for the DUE.

Everything work well on UNO or MEGA2560

I am using the library MS5611-01BA from Fabio Varesano (2011).
I have some errors at compilation which should come from these sections of the library :

in MS5611-01BA.h

#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))

and in MS5611-01BA.cpp

void MS561101BA::init(uint8_t address) {
_addr = address;

// disable internal pullups of the ATMEGA which Wire enable by default
#if defined(AVR_ATmega168) || defined(AVR_ATmega8) || defined(AVR_ATmega328P)
// deactivate internal pull-ups for twi
// as per note from atmega8 manual pg167
cbi(PORTC, 4);
cbi(PORTC, 5);
// deactivate internal pull-ups for twi
// as per note from atmega128 manual pg204
cbi(PORTD, 0);
cbi(PORTD, 1);

reset(); // reset the device to populate its internal PROM registers
delay(1000); // some safety time
readPROM(); // reads the PROM into object variables for later use

Can someone help me to make the necessary modifications for using this with the DUE.