Revert "At least on OpenBSD/amd64, this macro returns a bogus value if its argument is NULL."
This reverts commit
0d2f7866ac676ab0f3c8ac3eabcec06f580a9d62.
This causes great mayhem in building/generating dtbuilder .msg files
(corrupting them, and inserting '(nil)' all over the place).
These would cause dtbuilder, and any other program built by dtcodegen
to have screwed up colors, missing callbacks and other mayhem.
This was confirmed by others on the list - reverting this made those
issues go away.
It may be that the int -> long is correct, but the NULL check
certainly does not seem to do what was intended. I'll leave it up to
Pascal to investigate :)