]> git.sesse.net Git - vlc/blobdiff - src/interface/intf_msg.c
Move #define from audio_output.h to config.h
[vlc] / src / interface / intf_msg.c
index 720c7a287941d9ed6f469b5461202f0c7f58fa03..4b503c2f9976b76cb2e687369a6f17dacaf9edb7 100644 (file)
@@ -383,7 +383,7 @@ static void QueueMsg( intf_msg_t *p_msg, int i_type, char *psz_format, va_list a
     /*
      * 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
@@ -447,7 +447,7 @@ static void QueueDbgMsg(intf_msg_t *p_msg, char *psz_file, char *psz_function,
     /*
      * 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