summaryrefslogtreecommitdiffstats
path: root/loader/com.h
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-21 21:06:08 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-21 21:06:08 +0000
commit597c4bf9259a707196273bd6cfe06bb408fb6843 (patch)
treed0c3bc73a8c113bbdc6d14c2d8f71519f4b95739 /loader/com.h
parent6d21e908a0cc9fccdcfa0063af05cd1627dcc9bb (diff)
downloadmpv-597c4bf9259a707196273bd6cfe06bb408fb6843.tar.bz2
mpv-597c4bf9259a707196273bd6cfe06bb408fb6843.tar.xz
cygwin support patch by Sascha Sommer and some fixes by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9968 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/com.h')
-rw-r--r--loader/com.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/loader/com.h b/loader/com.h
index 741b25232b..4f8e180684 100644
--- a/loader/com.h
+++ b/loader/com.h
@@ -1,9 +1,8 @@
#ifndef AVIFILE_COM_H
#define AVIFILE_COM_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
+
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
@@ -14,7 +13,7 @@
* Internal functions and structures for COM emulation code.
*/
-#ifndef WIN32
+#if !defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32)
#ifdef __cplusplus
extern "C" {