[svn:parrot] r40629 - trunk/config/gen/platform/generic

NotFound at svn.parrot.org NotFound at svn.parrot.org
Tue Aug 18 18:05:32 UTC 2009


Author: NotFound
Date: Tue Aug 18 18:05:29 2009
New Revision: 40629
URL: https://trac.parrot.org/parrot/changeset/40629

Log:
[cage] ugly attempt to fix LLONG_MAX related problems

Modified:
   trunk/config/gen/platform/generic/platform_limits.h

Modified: trunk/config/gen/platform/generic/platform_limits.h
==============================================================================
--- trunk/config/gen/platform/generic/platform_limits.h	Tue Aug 18 17:24:24 2009	(r40628)
+++ trunk/config/gen/platform/generic/platform_limits.h	Tue Aug 18 18:05:29 2009	(r40629)
@@ -1,6 +1,6 @@
 /*
  * $Id$
- * Copyright (C) 2008, Parrot Foundation.
+ * Copyright (C) 2009, Parrot Foundation.
  */
 
 #ifndef PARROT_PLATFORM_GENERIC_PLATFORM_LIMITS_GUARD
@@ -14,6 +14,11 @@
 
 /* LLONG_MAX doesn't appear to be provided for some compilers of Win64, so
    try to define them here. */
+#include "parrot/has_header.h"
+#if PARROT_HAS_HEADER_LIMITS
+#    include <limits.h>
+#endif
+
 #ifdef _MSC_VER
 #  ifndef LLONG_MAX
 #    define LLONG_MAX _I64_MAX


More information about the parrot-commits mailing list