There are several questions and aswers about this question on this site. I tried the answers (including header-files) given, they don't solve my problem.
I migrated my project from VS2013 to VS2015. After compiling i'm getting the error : "C2065 'NULL': undeclared identifier". This didn't happen in VS2013. When I go to my code and 'hover' over "NULL", a window is shown "#define NULL 0". I can right-click on NULL and open "peek definition". The file vcruntime.h is opened and it shows the definition of NULL. (This file is marked as read-only.)
Why do I keep getting this error for every occurence of NULL (+200 times)?
Edit :
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif