Revision: 41965
http://brlcad.svn.sourceforge.net/brlcad/?rev=41965&view=rev
Author: erikgreenwald
Date: 2011-01-05 23:10:04 +0000 (Wed, 05 Jan 2011)
Log Message:
-----------
add a windows hack to evade __STDC__ pulling stdint.h instead of pstdint.h
Modified Paths:
--------------
brlcad/branches/cmake/include/common.h
Modified: brlcad/branches/cmake/include/common.h
===================================================================
--- brlcad/branches/cmake/include/common.h 2011-01-05 22:26:24 UTC (rev
41964)
+++ brlcad/branches/cmake/include/common.h 2011-01-05 23:10:04 UTC (rev
41965)
@@ -108,7 +108,9 @@
* 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)
+# ifdef WIN32 /* CMake defines __STDC__, so shortcircuit on windows to
explicitely pull pstdint.h */
+# include "pstdint.h"
+# elif 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>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits