Revision: 40965
http://brlcad.svn.sourceforge.net/brlcad/?rev=40965&view=rev
Author: starseeker
Date: 2010-10-10 13:22:17 +0000 (Sun, 10 Oct 2010)
Log Message:
-----------
This is very probably Not The Right Way, but get Tk past the header problem -
both tcl and tk now build. libbu doesn't work yet because a couple of the
generated include files are empty, and the tcl/tk packages obviously need the
conditional treatment, but signs of hope.
Modified Paths:
--------------
brlcad/branches/cmake/include/common.h
Modified: brlcad/branches/cmake/include/common.h
===================================================================
--- brlcad/branches/cmake/include/common.h 2010-10-10 13:05:34 UTC (rev
40964)
+++ brlcad/branches/cmake/include/common.h 2010-10-10 13:22:17 UTC (rev
40965)
@@ -112,12 +112,16 @@
* optional uintptr_t type.
*/
#if !defined(INT8_MAX) || !defined(INT16_MAX) || !defined(INT32_MAX) ||
!defined(INT64_MAX)
-# if defined(__STDC__) || defined(__STRICT_ANSI__) || defined(__SIZE_TYPE__)
|| defined(HAVE_STDINT_H)
-# define __STDC_LIMIT_MACROS 1
-# define __STDC_CONSTANT_MACROS 1
-# include <stdint.h>
+# if defined(_WIN32) && !defined(__CYGWIN__)
+# include "pstdint.h"
# else
-# include "pstdint.h"
+# if defined(__STDC__) || defined(__STRICT_ANSI__) ||
defined(__SIZE_TYPE__) || defined(HAVE_STDINT_H)
+# define __STDC_LIMIT_MACROS 1
+# define __STDC_CONSTANT_MACROS 1
+# include <stdint.h>
+# else
+# include "pstdint.h"
+# endif
# endif
#endif
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits