[RPCRT4][SHDOCVW]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 6 Jan 2013 14:32:46 +0000 (14:32 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 6 Jan 2013 14:32:46 +0000 (14:32 +0000)
- Add missing __WINESRC__ definitions. Fixes some warnings.
CORE-6784 #resolve

svn path=/trunk/; revision=58131

reactos/dll/win32/rpcrt4/CMakeLists.txt
reactos/dll/win32/shdocvw/CMakeLists.txt

index 05dfb4a..a6b142a 100644 (file)
@@ -35,6 +35,7 @@ remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 add_definitions(
+    -D__WINESRC__
     -D_RPCRT4_
     -DCOM_NO_WINDOWS_H
     -DMSWMSG)
index c48f728..34b5102 100644 (file)
@@ -1,7 +1,9 @@
 
 add_typelib(shdocvw_v1.idl)
 
-add_definitions(-D_SHDOCVW_)
+add_definitions(
+    -D__WINESRC__
+    -D_SHDOCVW_)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 spec2def(shdocvw.dll shdocvw.spec ADD_IMPORTLIB)