libargv/argv_loc.h: don't re-define NULL; rely on stddef.h from gnulib
This commit is contained in:
parent
a91669683d
commit
8bf35c0ae3
@ -18,6 +18,7 @@
|
|||||||
#define __ARGV_LOC_H__
|
#define __ARGV_LOC_H__
|
||||||
|
|
||||||
#include "argv.h" /* to get the types */
|
#include "argv.h" /* to get the types */
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -26,11 +27,6 @@ extern "C" {
|
|||||||
/*
|
/*
|
||||||
* generic constants
|
* generic constants
|
||||||
*/
|
*/
|
||||||
/* special consideration for NULL. some compilers bitch if I redefine it */
|
|
||||||
#ifndef NULL
|
|
||||||
#define NULL 0L
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef MIN
|
#undef MIN
|
||||||
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user