]> git.sesse.net Git - vlc/blobdiff - src/interface/main.c
D�but du portage BeOS. Beaucoup de fuchiers ont �t� modifi� car il a fallu
[vlc] / src / interface / main.c
index 95dda7794d49181830efd2e9f6b3d065504402af..4969b50e6818963c8d13e5525a0c564b4b59e39d 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <getopt.h>                                              /* getopt() */
 #include <signal.h>                               /* SIGHUP, SIGINT, SIGKILL */
+#include <getopt.h>                                              /* getopt() */
 #include <stdio.h>                                              /* sprintf() */
 
 #include <errno.h>                                                 /* ENOMEM */
 #include <stdlib.h>                                  /* getenv(), strtol(),  */
 #include <string.h>                                            /* strerror() */
 
+#include "threads.h"
 #include "config.h"
 #include "common.h"
 #include "mtime.h"
-#include "threads.h"
+#include "plugins.h"
 #include "input_vlan.h"
 
 #include "intf_msg.h"
@@ -574,6 +575,9 @@ static void SignalHandler( int i_signal )
  *****************************************************************************/
 static int TestMMX( void )
 {
+/* FIXME: under beos, gcc does not support the foolowing inline assembly */ 
+#ifndef SYS_BEOS
+
     int i_reg, i_dummy = 0;
 
     /* test for a 386 cpu */
@@ -635,5 +639,9 @@ static int TestMMX( void )
         return( 0 );
 
     return( 1 );
+
+#else /* SYS_BEOS */
+    return( 1 );
+#endif /* SYS_BEOS */
 }
 #endif