From b5e34cb1c1d7ef260731c916e79ce19cf4792a6e Mon Sep 17 00:00:00 2001
From: Sascha Sommer <saschasommer@freenet.de>
Date: Thu, 10 Apr 2003 18:02:17 +0000
Subject: [PATCH] #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
---
 libavcodec/os_support.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/os_support.h b/libavcodec/os_support.h
index 879bc470dd5..c3b3482b69d 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 <windows.h>
 #  define usleep(t)    Sleep((t) / 1000)
 #endif
-- 
GitLab