summaryrefslogtreecommitdiff
path: root/reference/C/EXAMPLES/ifndef.c
blob: 5fee1dad01d38aa2c8474b45a65cd3e20e35b6ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

					/* Create NULL if NULL was not 
					 * created by stdio.h 		*/
#ifndef NULL
   #define NULL '\0'
#endif

main()
{
  printf("%c \n", NULL);
}