summaryrefslogtreecommitdiffstats
path: root/win/tkWinSendCom.c
diff options
context:
space:
mode:
authordavygrvy <davygrvy>2004-01-15 21:46:22 (GMT)
committerdavygrvy <davygrvy>2004-01-15 21:46:22 (GMT)
commit02bc33334a9bfda0eff8061d2a5293cb62506547 (patch)
treee638f5cd3b23a83e0619b59902ea1745a45cf6e1 /win/tkWinSendCom.c
parent69b7d76e12e7726910f8b2121789c38d714fe565 (diff)
downloadtk-02bc33334a9bfda0eff8061d2a5293cb62506547.zip
tk-02bc33334a9bfda0eff8061d2a5293cb62506547.tar.gz
tk-02bc33334a9bfda0eff8061d2a5293cb62506547.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.c8
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.