mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 18:40:17 +00:00
* Gcc libc has broken header files on the msp430.
This commit is contained in:
parent
0e515a5472
commit
25681c9aaa
@ -28,11 +28,15 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: rand.c,v 1.5 2007/06/04 18:03:58 bg- Exp $
|
||||
* @(#)$Id: rand.c,v 1.6 2007/06/05 10:02:53 bg- Exp $
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__GNUC__) && defined(__MSP430__)
|
||||
#undef RAND_MAX /* Broken header files! */
|
||||
#endif
|
||||
|
||||
#include "lib/assert.h"
|
||||
|
||||
#ifdef RAND_MAX
|
||||
|
Loading…
Reference in New Issue
Block a user