Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.2
 
1.3
 
MAIN:ragge:20110131075735
 
libpcc_limits.h
_>1717  * a property of the compiler. Not complete.
 1818  */
 1919 
<>20 -/* pdp10 needs special handling */
 21 -#ifndef CHAR_BIT
  20+#undef CHAR_BIT
  21+#ifdef __pdp10__
  22+#define CHAR_BIT 9
  23+#else
2224 #define CHAR_BIT 8
 2325 #endif
 2426 
<>25 -#ifndef UINT_MAX
 26 -#define UINT_MAX 4294967295U
 27 -#endif
  27+/*
  28+ * Logic below assumes 2-complement.
  29+ */
2830 
<> 31+#undef SCHAR_MAX
  32+#define SCHAR_MAX __SCHAR_MAX__
  33+#undef SCHAR_MIN
  34+#define SCHAR_MIN (-SCHAR_MAX-1)
  35+#undef UCHAR_MAX
  36+#define UCHAR_MAX (2*SCHAR_MAX+1)
2937 
<> 38+#undef SHRT_MAX
  39+#define SHRT_MAX __SHRT_MAX__
  40+#undef SHRT_MIN
  41+#define SHRT_MIN (-SHRT_MAX-1)
  42+#undef USHRT_MAX
  43+#define USHRT_MAX (2*SHRT_MAX+1)
  44+
  45+#undef INT_MAX
  46+#define INT_MAX __INT_MAX__
  47+#undef INT_MIN
  48+#define INT_MIN (-INT_MAX-1)
  49+#undef UINT_MAX
  50+#define UINT_MAX (2U*INT_MAX+1U)
  51+
  52+#undef LONG_MAX
  53+#define LONG_MAX __LONG_MAX__
  54+#undef LONG_MIN
  55+#define LONG_MIN (-LONG_MAX-1L)
  56+#undef ULONG_MAX
  57+#define ULONG_MAX (2UL*LONG_MAX+1UL)
  58+
  59+#undef LLONG_MAX
  60+#define LLONG_MAX __LONG_LONG_MAX__
  61+#undef LLONG_MIN
  62+#define LLONG_MIN (-LLONG_MAX-1LL)
  63+#undef ULLONG_MAX
  64+#define ULLONG_MAX (2ULL*LLONG_MAX+1ULL)
  65+
<_3066 #endif
 3167 
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-01 18:21 +0200