Revision d4ad24c1 libavformat/img.c

View differences:

libavformat/img.c
18 18
 */
19 19
#include <unistd.h>
20 20
#include "avformat.h"
21

  
22
#ifdef __MINGW32__
23
#  include <windows.h>
24
#  define usleep(t)    Sleep((t) / 1000)
25
#endif
26
#ifdef __BEOS__
27
#  ifndef usleep
28
#    include <OS.h>
29
#    define usleep(t)  snooze((bigtime_t)(t))
30
#  endif
31
#endif
32
#if defined(CONFIG_OS2)
33
#  include <stdlib.h>
34
#  define usleep(t)    _sleep2((t) / 1000)
35
#endif
21
#include "../os_support.h"
36 22

  
37 23
typedef struct {
38 24
    int width;

Also available in: Unified diff