Linux also needs cast to char * of NULL
authorPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 23:51:05 +0000 (23:51 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 23:51:05 +0000 (23:51 +0000)
cde/lib/tt/lib/util/tt_entry_pt.C

index 6394683223095107b48bf30667ddaf7dccd7adda..9f70aa4a03b8fb23fa013fc5dd1b9eb4e15c9a42 100644 (file)
@@ -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;