Revision: 41022
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41022&view=rev
Author:   starseeker
Date:     2010-10-17 04:44:25 +0000 (Sun, 17 Oct 2010)

Log Message:
-----------
For whatever reason, ActiveState doesn't have this and the standard tcl sources 
do.  Include it so we can build with ActiveState.

Modified Paths:
--------------
    brlcad/branches/cmake/include/common.h

Modified: brlcad/branches/cmake/include/common.h
===================================================================
--- brlcad/branches/cmake/include/common.h      2010-10-17 04:04:05 UTC (rev 
41021)
+++ brlcad/branches/cmake/include/common.h      2010-10-17 04:44:25 UTC (rev 
41022)
@@ -283,7 +283,16 @@
 #  warning "DEPRECATED was previously defined.  Disabling the declaration."
 #endif
 
+/* ActiveState Tcl doesn't include this catch in tclPlatDecls.h, so we
+ * have to add it for them
+ */
+#if defined(_MSC_VER) && defined(__STDC__)
+   #include <tchar.h>
+   /* MSVC++ misses this. */
+   typedef _TCHAR TCHAR;
+#endif
 
+
 #endif  /* __COMMON_H__ */
 /** @} */
 /*


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to