diff options
author | davygrvy <davygrvy@noemail.net> | 2004-01-15 21:46:21 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2004-01-15 21:46:21 (GMT) |
commit | 59a3f5e838a16b83bf0f2a290aa953e063cb082d (patch) | |
tree | e638f5cd3b23a83e0619b59902ea1745a45cf6e1 /win/tkWinSendCom.c | |
parent | 251341e6e97dc56a162aade4674a62266f75ca92 (diff) | |
download | tk-59a3f5e838a16b83bf0f2a290aa953e063cb082d.zip tk-59a3f5e838a16b83bf0f2a290aa953e063cb082d.tar.gz tk-59a3f5e838a16b83bf0f2a290aa953e063cb082d.tar.bz2 |
* win/tkWinSendCom.c: Placed the requirement for the special COM
libraries into the object file itself with #paragma comment (lib, ...)
when built with VC++. This will simplify linking for users of the
static library. uuid.lib is required for VC5.2, but is implicit
with VC6.
* win/makefile.vc: Removed 'ole32.lib oleaut32.lib uuid.lib' from
$(baselibs).
FossilOrigin-Name: 7d58561259d813bbc42d03b105c473d3afe232ea
Diffstat (limited to 'win/tkWinSendCom.c')
-rw-r--r-- | win/tkWinSendCom.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/tkWinSendCom.c b/win/tkWinSendCom.c index b5e0686..9ad1f15 100644 --- a/win/tkWinSendCom.c +++ b/win/tkWinSendCom.c @@ -17,11 +17,17 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinSendCom.c,v 1.3 2003/11/20 19:36:58 vincentdarley Exp $ + * RCS: @(#) $Id: tkWinSendCom.c,v 1.4 2004/01/15 21:46:22 davygrvy Exp $ */ #include "tkWinSendCom.h" +#ifdef _MSC_VER +# pragma comment (lib, "ole32.lib") +# pragma comment (lib, "oleaut32.lib") +# pragma comment (lib, "uuid.lib") +#endif + /* * ---------------------------------------------------------------------- * Non-public prototypes. |