restoring OS/2 compatibility patch by ("Slavik Gnatenko" <miracle9 at newmail dot...
[ffmpeg.git] / libavcodec / resample.c
index 209a008..ba2bb81 100644 (file)
 
 #include "avcodec.h"
 
 
 #include "avcodec.h"
 
+#if defined (CONFIG_OS2)
+#define floorf(n) floor(n)
+#endif
+
 typedef struct {
     /* fractional resampling */
     uint32_t incr; /* fractional increment */
 typedef struct {
     /* fractional resampling */
     uint32_t incr; /* fractional increment */