Mercurial > libavformat.hg
comparison img.c @ 22:65433f1b2549 libavformat
os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
author | michaelni |
---|---|
date | Sat, 11 Jan 2003 20:34:38 +0000 |
parents | 3d2d2f8725f9 |
children | b0e0eb595e29 |
comparison
equal
deleted
inserted
replaced
21:3d2d2f8725f9 | 22:65433f1b2549 |
---|---|
24 # define usleep(t) Sleep((t) / 1000) | 24 # define usleep(t) Sleep((t) / 1000) |
25 #endif | 25 #endif |
26 #ifdef __BEOS__ | 26 #ifdef __BEOS__ |
27 # ifndef usleep | 27 # ifndef usleep |
28 # include <OS.h> | 28 # include <OS.h> |
29 # define usleep(t) snooze((bigtime_t)(t)) | 29 # define usleep(t) snooze((bigtime_t)(t)) |
30 # endif | 30 # endif |
31 #endif | |
32 #if defined(CONFIG_OS2) | |
33 # include <stdlib.h> | |
34 # define usleep(t) _sleep2((t) / 1000) | |
31 #endif | 35 #endif |
32 | 36 |
33 typedef struct { | 37 typedef struct { |
34 int width; | 38 int width; |
35 int height; | 39 int height; |