cli(); not declared in scope

On the UNO I used cli(); to turn off any background interrupts and sei(); to turn it back on within my sketch. But when I use this code on the 101 I get an error message "cli(); was not declared in this scope". Do I have to include a library? Very confused :frowning:

Any help is truly appreciated.

DJ

cli(), sei() are AVR specific shortcuts. Arduino 101 is not an AVR board; I guess there will be a period of adjustment when people accustomed to the AVR world try something different.
Try
http://www.arduino.cc/en/Reference/Interrupts
http://www.arduino.cc/en/Reference/NoInterrupts
instead.