diff --git a/libavcodec/os_support.h b/libavcodec/os_support.h index 879bc470dd..c3b3482b69 100644 --- a/libavcodec/os_support.h +++ b/libavcodec/os_support.h @@ -11,6 +11,7 @@ */ #ifdef __MINGW32__ +# undef DATADIR /* clashes with /usr/include/w32api/objidl.h */ # include # define usleep(t) Sleep((t) / 1000) #endif