~ubuntu-branches/ubuntu/jaunty/nspr/jaunty-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/include/prlong.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-05-10 18:40:10 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100510184010-boghfzlm551mtoag
Tags: 4.8-0ubuntu0.9.04.1
* New upstream release: 4.8
  - Support updating NSS to 3.12.6 and fix CVE-2009-3555 aka 
    US-CERT VU#120541
* adjust patches to changed upstream codebase
  - update debian/patches/30_config_64bits.patch
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
**      Various interesting constants and static variable
60
60
**      initializer
61
61
***********************************************************************/
62
 
#if defined(HAVE_WATCOM_BUG_2)
63
 
PRInt64 __pascal __loadds __export
64
 
    LL_MaxInt(void);
65
 
PRInt64 __pascal __loadds __export
66
 
    LL_MinInt(void);
67
 
PRInt64 __pascal __loadds __export
68
 
    LL_Zero(void);
69
 
PRUint64 __pascal __loadds __export
70
 
    LL_MaxUint(void);
71
 
#else
72
62
NSPR_API(PRInt64) LL_MaxInt(void);
73
63
NSPR_API(PRInt64) LL_MinInt(void);
74
64
NSPR_API(PRInt64) LL_Zero(void);
75
65
NSPR_API(PRUint64) LL_MaxUint(void);
76
 
#endif
77
66
 
78
67
#if defined(HAVE_LONG_LONG)
79
68
 
84
73
#define LL_ZERO     0L
85
74
#define LL_MAXUINT  18446744073709551615UL
86
75
#define LL_INIT(hi, lo)  ((hi ## L << 32) + lo ## L)
87
 
#elif (defined(WIN32) || defined(WIN16)) && !defined(__GNUC__)
 
76
#elif defined(WIN32) && !defined(__GNUC__)
88
77
#define LL_MAXINT   9223372036854775807i64
89
78
#define LL_MININT   (-LL_MAXINT - 1i64)
90
79
#define LL_ZERO     0i64