/*
* Convert message to string
*/
-#ifdef SYS_BEOS
+#if defined SYS_BEOS || defined SYS_SOLARIS
psz_str = (char*) malloc( strlen(psz_format) + INTF_MAX_MSG_SIZE );
vsprintf( psz_str, psz_format, ap );
#else
/*
* Convert message to string
*/
-#ifdef SYS_BEOS
+#if defined SYS_BEOS || defined SYS_SOLARIS
psz_str = (char*) malloc( INTF_MAX_MSG_SIZE );
vsprintf( psz_str, psz_format, ap );
#else