From e8fe4970ebefc8c67e47d4bc79784d19af03a990 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Sun, 11 Mar 2012 23:51:05 +0000 Subject: [PATCH] Linux also needs cast to char * of NULL --- cde/lib/tt/lib/util/tt_entry_pt.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/lib/tt/lib/util/tt_entry_pt.C b/cde/lib/tt/lib/util/tt_entry_pt.C index 63946832..9f70aa4a 100644 --- a/cde/lib/tt/lib/util/tt_entry_pt.C +++ b/cde/lib/tt/lib/util/tt_entry_pt.C @@ -449,7 +449,7 @@ _Tt_string _tt_entrypt_to_string(_Tt_entry_pt fun) return "tt_feature_enabled"; case TT_FEATURE_REQUIRED : return "tt_feature_required"; -#ifdef __osf__ +#if defined(__osf__) || defined(linux) case TT_API_CALL_LAST: return (char *) NULL; #else case TT_API_CALL_LAST: return NULL; -- 2.25.1