libargv/argv_loc.h: don't re-define NULL; rely on stddef.h from gnulib

This commit is contained in:
Peter Simons 2013-02-09 19:56:22 +01:00
parent a91669683d
commit 8bf35c0ae3

View File

@ -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))