Author: tkreuzer
Date: Fri Aug 12 16:53:15 2011
New Revision: 53199
URL:
http://svn.reactos.org/svn/reactos?rev=53199&view=rev
Log:
[KS]
Fix MSVC build
Added:
trunk/reactos/drivers/ksfilter/ks/msvc.S (with props)
Modified:
trunk/reactos/drivers/ksfilter/ks/CMakeLists.txt
Modified: trunk/reactos/drivers/ksfilter/ks/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/CMakeL…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/CMakeLists.txt [iso-8859-1] Fri Aug 12 16:53:15
2011
@@ -31,6 +31,10 @@
ks.rc
${CMAKE_CURRENT_BINARY_DIR}/ks.def)
+if(MSVC)
+ list(APPEND SOURCE msvc.S)
+endif()
+
add_library(ks SHARED ${SOURCE})
set_target_properties(ks PROPERTIES SUFFIX ".sys")
Added: trunk/reactos/drivers/ksfilter/ks/msvc.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/msvc.S…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/msvc.S (added)
+++ trunk/reactos/drivers/ksfilter/ks/msvc.S [iso-8859-1] Fri Aug 12 16:53:15 2011
@@ -1,0 +1,26 @@
+
+#include <asm.inc>
+
+.code
+
+MACRO(DEFINE_ALIAS, alias, orig)
+EXTERN &orig:PROC
+ALIAS <&alias> = <&orig>
+ENDM
+
+PUBLIC ?NonDelegatedRelease@CBaseUnknown@@UAGKXZ
+?NonDelegatedRelease@CBaseUnknown@@UAGKXZ:
+ jmp _IIndirectedUnknown_fnRelease@4
+
+
+DEFINE_ALIAS ??0CBaseUnknown@@QAE@ABU_GUID@@PAUIUnknown@@@Z,
@CBaseUnknown_ConstructorWithGUID@16
+DEFINE_ALIAS ??0CBaseUnknown@@QAE@PAUIUnknown@@@Z, @CBaseUnknown_Constructor@12
+DEFINE_ALIAS ??1CBaseUnknown@@UAE@XZ, @CBaseUnknown_DefaultDestructor@8
+DEFINE_ALIAS ??_FCBaseUnknown@@QAEXXZ, @CBaseUnknown_Destructor@12
+DEFINE_ALIAS ?IndirectedAddRef@CBaseUnknown@@UAGKXZ, _IIndirectedUnknown_fnAddRef@4
+DEFINE_ALIAS ?IndirectedQueryInterface@CBaseUnknown@@UAGJABU_GUID@@PAPAX@Z,
_IIndirectedUnknown_fnQueryInterface@12
+DEFINE_ALIAS ?IndirectedRelease@CBaseUnknown@@UAGKXZ, _IIndirectedUnknown_fnRelease@4
+DEFINE_ALIAS ?NonDelegatedAddRef@CBaseUnknown@@UAGKXZ, _INonDelegatedUnknown_fnAddRef@4
+DEFINE_ALIAS ?NonDelegatedQueryInterface@CBaseUnknown@@UAGJABU_GUID@@PAPAX@Z,
_INonDelegatedUnknown_fnQueryInterface@12
+
+END
Propchange: trunk/reactos/drivers/ksfilter/ks/msvc.S
------------------------------------------------------------------------------
svn:eol-style = native