mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 03:30:01 +00:00
Define the BV macro if not already defined
This commit is contained in:
parent
1c6c4ba2f1
commit
f26920ae9b
@ -25,8 +25,6 @@
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)$Id: msp430def.h,v 1.5 2010/03/19 14:50:07 joxe Exp $
|
||||
*/
|
||||
|
||||
#ifndef MSP430DEF_H
|
||||
@ -40,7 +38,6 @@
|
||||
#define eint() __enable_interrupt()
|
||||
#define __MSP430__ 1
|
||||
#define CC_CONF_INLINE
|
||||
#define BV(x) (1 << x)
|
||||
|
||||
#else /* __IAR_SYSTEMS_ICC__ */
|
||||
|
||||
@ -59,6 +56,10 @@
|
||||
|
||||
#endif /* __IAR_SYSTEMS_ICC__ */
|
||||
|
||||
#ifndef BV
|
||||
#define BV(x) (1 << x)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user