changeset 9435:97b30b4b722f

cygwin win32 dll support
author faust3
date Sat, 15 Feb 2003 17:45:10 +0000
parents d2da6447daac
children ffe048e5ad9f
files libmpcodecs/ve_qtvideo.c
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_qtvideo.c	Sat Feb 15 17:29:01 2003 +0000
+++ b/libmpcodecs/ve_qtvideo.c	Sat Feb 15 17:45:10 2003 +0000
@@ -12,7 +12,7 @@
 #include "../mp_msg.h"
 #include "../bswap.h"
 
-#ifdef USE_WIN32DLL 
+#ifdef WIN32_LOADER 
 #include "ldt_keeper.h" 
 #endif 
 
@@ -20,10 +20,6 @@
 #include "../loader/qtx/qtxsdk/components.h"
 #include "wine/windef.h"
 
-#ifdef USE_WIN32DLL
-#include "ldt_keeper.h"
-#endif
-
 #include "codec-cfg.h"
 #include "stream.h"
 #include "demuxer.h"
@@ -296,7 +292,9 @@
     mux_v->bih->biBitCount=24;
 
 
+#ifdef WIN32_LOADER
     Setup_LDT_Keeper();
+#endif
     handler = LoadLibraryA("qtmlClient.dll");
     InitializeQTML = (OSErr (*)(long))GetProcAddress(handler, "InitializeQTML");
     GetGWorldPixMap = (PixMapHandle (*)(GWorldPtr))GetProcAddress(handler, "GetGWorldPixMap");