サンプル

#include <iostream.h>

#define NULL 0

bool function(int *input){

if(input == NULL){
return false;
}
else{
return true;
}
}

ソリューション
常に、NULL を (void*) 0 として定義します。

#include <iostream.h>

#define NULL (void *)  0

bool function(int *input){

if(input == NULL){
return false;
}
else{
return true;
}
}