Introduce THISORNUL macro.

This commit is contained in:
Justin Maggard
2014-04-07 10:29:56 -07:00
parent e3792ad8da
commit 6e43ab3c06
4 changed files with 7 additions and 6 deletions

View File

@ -73,6 +73,7 @@
#else
#define _(string) (string)
#endif
#define THISORNUL(s) (s ? s : "")
#ifndef PNPX
#define PNPX 0