appease sun - nil is now just 0 instead of (void*)0
to fix function pointer problems.
This commit is contained in:
@@ -13,7 +13,9 @@ extern "C" {
|
||||
* Begin usual libc.h
|
||||
*/
|
||||
|
||||
#ifndef nil
|
||||
#define nil ((void*)0)
|
||||
#endif
|
||||
#define nelem(x) (sizeof(x)/sizeof((x)[0]))
|
||||
|
||||
#ifndef offsetof
|
||||
|
||||
Reference in New Issue
Block a user