OSDN Git Service

[Feature] #40463 NULL未定義の定義プリプロセッサを削除. / Delete NULL definition for environment undef...
authordeskull <deskull@users.sourceforge.jp>
Fri, 8 Jan 2021 11:37:57 +0000 (20:37 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Fri, 8 Jan 2021 11:37:57 +0000 (20:37 +0900)
src/system/h-basic.h

index 85581cc..91723e0 100644 (file)
 #include "system/gamevalue.h"
 
 #endif
-
-/*
- * Hack -- Define NULL
- */
-#ifndef NULL
-# ifdef __STDC__
-#  define NULL ((void*)0) /*!< コンパイル環境に定義がない場合のNULL定義 */
-# else
-#  define NULL ((char*)0) /*!< コンパイル環境に定義がない場合のNULL定義 */
-# endif /* __STDC__ */
-#endif /* NULL */