#undef DATADIR before inclusion of windows.h patch by ("Sascha Sommer" <saschasommer...
authorSascha Sommer <saschasommer@freenet.de>
Thu, 10 Apr 2003 18:02:17 +0000 (18:02 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Apr 2003 18:02:17 +0000 (18:02 +0000)
Originally committed as revision 1749 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/os_support.h

index 879bc47..c3b3482 100644 (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