~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - 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