[ofw] [PATCH] WV: Don't link to CRT

Fab Tillier ftillier at windows.microsoft.com
Mon Feb 23 11:59:07 PST 2009


This patch removes the dependency on the CRT, avoiding any potential issues with mismatched CRTs (say a client app uses the single-threaded static version of the CRT while WinVerbs uses the multi-threaded DLL version.)

Signed-off-by: Fab Tillier <ftillier at microsoft.com>

Index: core/winverbs/user/SOURCES
===================================================================
--- core/winverbs/user/SOURCES  (revision 1978)
+++ core/winverbs/user/SOURCES  (working copy)
@@ -14,7 +14,7 @@ DLLDEF = $(OBJ_PATH)\$O\wv_exports.def
 !endif

 DLLENTRY = DllMain
-USE_MSVCRT = 1
+USE_NTDLL=1

 SOURCES = \
        winverbs.rc             \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wv_crt.patch
Type: application/octet-stream
Size: 356 bytes
Desc: wv_crt.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090223/9f554a3a/attachment.obj>


More information about the ofw mailing list