]> git.sesse.net Git - vlc/commitdiff
Force lldiv emulation on BeOS
authorEric Petit <titer@videolan.org>
Wed, 8 Mar 2006 23:52:35 +0000 (23:52 +0000)
committerEric Petit <titer@videolan.org>
Wed, 8 Mar 2006 23:52:35 +0000 (23:52 +0000)
include/vlc_common.h
src/extras/libc.c

index 381bd24d458482cbe396520c1723e5fb8d37a5c0..d54d50e5f56343d3c34a22596ce98a1676545e08 100644 (file)
@@ -873,7 +873,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
 #   define vlc_strtoll NULL
 #endif
 
-#ifndef HAVE_LLDIV
+#if !defined(HAVE_LLDIV) || defined(SYS_BEOS)
     typedef struct {
         long long quot; /* Quotient. */
         long long rem;  /* Remainder. */
index 2b2982dcc9d8adace8a6601016028468b36584b2..3ba92fc6bfb2cc0d4286c17297d55a282fde5aa3 100644 (file)
@@ -346,7 +346,7 @@ int64_t vlc_atoll( const char *nptr )
 /*****************************************************************************
  * lldiv: returns quotient and remainder
  *****************************************************************************/
-#if !defined( HAVE_LLDIV )
+#if !defined(HAVE_LLDIV) || defined(SYS_BEOS)
 lldiv_t vlc_lldiv( long long numer, long long denom )
 {
     lldiv_t d;