summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2006-09-06 18:21:13 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2006-09-06 18:21:13 +0000
commite2426a05a8fa7417093f8b2522210f635a0cbeca (patch)
treebbb6e32e5d5faf4c04fdf1605531c8871e7828b3
parent48eb1f3bfe29e086b363ee98c25d760f0a6401f3 (diff)
downloadxine-lib-e2426a05a8fa7417093f8b2522210f635a0cbeca.tar.gz
xine-lib-e2426a05a8fa7417093f8b2522210f635a0cbeca.tar.bz2
Build workaround for MinGW.
CVS patchset: 8202 CVS date: 2006/09/06 18:21:13
-rw-r--r--lib/os_internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/os_internal.h b/lib/os_internal.h
index 9f6d2610a..bffcb6ecb 100644
--- a/lib/os_internal.h
+++ b/lib/os_internal.h
@@ -203,13 +203,16 @@ char *_xine_private_strndup(const char *s, size_t n);
* (do it only inside ffmpeg)
*/
# ifdef HAVE_AV_CONFIG_H
-# include <windef.h>
+# include <windows.h>
# ifdef near
# undef near
# endif
# ifdef far
# undef far
# endif
+# ifdef frm1
+# undef frm1
+# endif
/* it sucks everywhere :-) */
# define near win32_sucks_near
# define far win32_sucks_far