Browse Source

#undef DATADIR before inclusion of windows.h patch by ("Sascha Sommer" <saschasommer at freenet dot de>)

Originally committed as revision 1749 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Sascha Sommer Michael Niedermayer 23 years ago
parent
commit
b5e34cb1c1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/os_support.h

+ 1
- 0
libavcodec/os_support.h View File

@@ -11,6 +11,7 @@
*/

#ifdef __MINGW32__
# undef DATADIR /* clashes with /usr/include/w32api/objidl.h */
# include <windows.h>
# define usleep(t) Sleep((t) / 1000)
#endif


Loading…
Cancel
Save