31 lines
422 B
C
31 lines
422 B
C
|
|
#ifndef __NULL_H
|
|
#define __NULL_H
|
|
|
|
/******************************
|
|
* _null.h *
|
|
* - NULL declaration *
|
|
******************************/
|
|
|
|
#if defined (_MSC_VER) && (_MSC_VER >= 1020)
|
|
# pragma once
|
|
#endif
|
|
|
|
#ifdef NULL
|
|
#undef NULL
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
/* standard NULL declaration */
|
|
#define NULL 0
|
|
}
|
|
#else
|
|
/* standard NULL declaration */
|
|
#define NULL (void*)0
|
|
#endif
|
|
|
|
|
|
#endif
|