mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-09-28 18:55:02 +00:00
Added LWIP_RAND() define
This commit is contained in:
parent
e59072922c
commit
d0c399570e
@ -80,5 +80,7 @@ typedef unsigned long mem_ptr_t;
|
||||
|
||||
#define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \
|
||||
x, __LINE__, __FILE__); fflush(NULL); abort();} while(0)
|
||||
|
||||
|
||||
#define LWIP_RAND() ((u32_t)rand())
|
||||
|
||||
#endif /* __ARCH_CC_H__ */
|
||||
|
@ -103,4 +103,6 @@ typedef u32_t sys_prot_t;
|
||||
|
||||
u32_t dns_lookup_external_hosts_file(const char *name);
|
||||
|
||||
#define LWIP_RAND() ((u32_t)rand())
|
||||
|
||||
#endif /* __ARCH_CC_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user