Try disable nullptr hack

This commit is contained in:
mittorn 2018-07-30 02:08:37 +07:00
parent 7eda9d88d0
commit 8d75f9404f
1 changed files with 2 additions and 1 deletions

View File

@ -97,6 +97,7 @@ typedef float vec_t; // needed before including progdefs.h
#endif #endif
// Make NULL null pointer, not null integer // Make NULL null pointer, not null integer
#if 0
#ifdef __cplusplus #ifdef __cplusplus
struct my_nullptr_t struct my_nullptr_t
{ {
@ -109,6 +110,6 @@ static my_nullptr_t my_nullptr;
#endif #endif
#define NULL my_nullptr #define NULL my_nullptr
#endif #endif
#endif
#endif //EXTDLL_H #endif //EXTDLL_H