diff options
author | davygrvy <davygrvy> | 2004-01-15 21:46:22 (GMT) |
---|---|---|
committer | davygrvy <davygrvy> | 2004-01-15 21:46:22 (GMT) |
commit | 228c96809fa66cec1b891b8320b70daf741dd7b0 (patch) | |
tree | e638f5cd3b23a83e0619b59902ea1745a45cf6e1 /win/tkWinSendCom.c | |
parent | 6663034307eea251cadd104563bba1bc00bb5bf5 (diff) | |
download | tk-228c96809fa66cec1b891b8320b70daf741dd7b0.zip tk-228c96809fa66cec1b891b8320b70daf741dd7b0.tar.gz tk-228c96809fa66cec1b891b8320b70daf741dd7b0.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).
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. |