RANDOM_MAX changed to RANDOM_RAND_MAX.
This commit is contained in:
parent
fb75503624
commit
9aa734936f
1 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
* This file is part of the Contiki OS
|
||||
*
|
||||
* $Id: rand.c,v 1.2 2010/10/26 10:47:23 salvopitru Exp $
|
||||
* $Id: rand.c,v 1.3 2011/01/17 10:08:14 salvopitru Exp $
|
||||
*/
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/**
|
||||
|
@ -43,8 +43,8 @@
|
|||
#include "dev/stm32w-radio.h"
|
||||
#include "lib/random.h"
|
||||
|
||||
#if (RANDOM_MAX != 0xffff)
|
||||
#warning "RANDOM_MAX is not defined as 65535."
|
||||
#if (RANDOM_RAND_MAX != 0xffff)
|
||||
#warning "RANDOM_RAND_MAX is not defined as 65535."
|
||||
#endif
|
||||
|
||||
int rand(void)
|
||||
|
|
Loading…
Reference in a new issue