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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/include/md/_netbsd.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-06-16 11:28:24 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090616112824-cg6qzhvt63lx7bub
Tags: 4.7.5-0ubuntu1
* New upstream version: 4.7.5 (LP: #387745)

* adjust patches to changed upstream code base
  - update debian/patches/99_configure.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
#define HAVE_LONG_LONG
53
53
#endif
54
54
 
55
 
#if defined(__i386__) || defined(__arm32__) || defined(__MIPSEL__)
 
55
#if defined(__i386__) || defined(__arm32__) || defined(__ARMEL__) || \
 
56
        defined(__MIPSEL__)
56
57
 
57
58
#define IS_LITTLE_ENDIAN 1
58
59
#undef  IS_BIG_ENDIAN
97
98
#define PR_ALIGN_OF_DOUBLE  4
98
99
#define PR_ALIGN_OF_POINTER 4
99
100
 
100
 
#elif defined(__sparc__) || defined(__MIPSEB__)
101
 
 
102
 
#undef IS_LITTLE_ENDIAN
103
 
#define  IS_BIG_ENDIAN 1
104
 
#define  HAVE_ALIGNED_DOUBLES
105
 
#define  HAVE_ALIGNED_LONGLONGS
 
101
#elif defined(__sparc_v9__)
 
102
 
 
103
#undef  IS_LITTLE_ENDIAN
 
104
#define IS_BIG_ENDIAN 1
 
105
#define HAVE_ALIGNED_DOUBLES
 
106
#define HAVE_ALIGNED_LONGLONGS
 
107
#define IS_64
 
108
 
 
109
#define PR_BYTES_PER_BYTE   1
 
110
#define PR_BYTES_PER_SHORT  2
 
111
#define PR_BYTES_PER_INT    4
 
112
#define PR_BYTES_PER_INT64  8
 
113
#define PR_BYTES_PER_LONG   8
 
114
#define PR_BYTES_PER_FLOAT  4
 
115
#define PR_BYTES_PER_DOUBLE 8
 
116
#define PR_BYTES_PER_WORD   8
 
117
#define PR_BYTES_PER_DWORD  8
 
118
#define PR_BYTES_PER_WORD_LOG2   3
 
119
#define PR_BYTES_PER_DWORD_LOG2  3
 
120
 
 
121
#define PR_BITS_PER_BYTE    8
 
122
#define PR_BITS_PER_SHORT   16
 
123
#define PR_BITS_PER_INT     32
 
124
#define PR_BITS_PER_INT64   64
 
125
#define PR_BITS_PER_LONG    64
 
126
#define PR_BITS_PER_FLOAT   32
 
127
#define PR_BITS_PER_DOUBLE  64
 
128
#define PR_BITS_PER_WORD    64
 
129
 
 
130
#define PR_BITS_PER_BYTE_LOG2   3
 
131
#define PR_BITS_PER_SHORT_LOG2  4
 
132
#define PR_BITS_PER_INT_LOG2    5
 
133
#define PR_BITS_PER_INT64_LOG2  6
 
134
#define PR_BITS_PER_LONG_LOG2   6
 
135
#define PR_BITS_PER_FLOAT_LOG2  5
 
136
#define PR_BITS_PER_DOUBLE_LOG2 6
 
137
#define PR_BITS_PER_WORD_LOG2   6
 
138
 
 
139
#define PR_ALIGN_OF_SHORT   2
 
140
#define PR_ALIGN_OF_INT     4
 
141
#define PR_ALIGN_OF_LONG    8
 
142
#define PR_ALIGN_OF_INT64   8 
 
143
#define PR_ALIGN_OF_FLOAT   4 
 
144
#define PR_ALIGN_OF_DOUBLE  8 
 
145
#define PR_ALIGN_OF_POINTER 8 
 
146
 
 
147
#elif defined(__sparc__) || defined(__MIPSEB__) || defined(__ARMEB__)
 
148
 
 
149
#undef  IS_LITTLE_ENDIAN
 
150
#define IS_BIG_ENDIAN 1
 
151
#define HAVE_ALIGNED_DOUBLES
 
152
#define HAVE_ALIGNED_LONGLONGS
106
153
 
107
154
#define PR_BYTES_PER_BYTE   1
108
155
#define PR_BYTES_PER_SHORT  2
188
235
#define PR_BYTES_PER_WORD_LOG2  3
189
236
#define PR_BYTES_PER_DWORD_LOG2 3
190
237
 
 
238
#elif defined(__amd64__)
 
239
#define IS_LITTLE_ENDIAN 1
 
240
#undef  IS_BIG_ENDIAN
 
241
#define HAVE_ALIGNED_DOUBLES
 
242
#define HAVE_ALIGNED_LONGLONGS
 
243
#define IS_64
 
244
 
 
245
#define PR_BYTES_PER_BYTE   1
 
246
#define PR_BYTES_PER_SHORT  2
 
247
#define PR_BYTES_PER_INT    4
 
248
#define PR_BYTES_PER_INT64  8
 
249
#define PR_BYTES_PER_LONG   8
 
250
#define PR_BYTES_PER_FLOAT  4
 
251
#define PR_BYTES_PER_DOUBLE 8
 
252
#define PR_BYTES_PER_WORD   8
 
253
#define PR_BYTES_PER_DWORD  8
 
254
 
 
255
#define PR_BITS_PER_BYTE    8
 
256
#define PR_BITS_PER_SHORT   16
 
257
#define PR_BITS_PER_INT     32
 
258
#define PR_BITS_PER_INT64   64
 
259
#define PR_BITS_PER_LONG    64
 
260
#define PR_BITS_PER_FLOAT   32
 
261
#define PR_BITS_PER_DOUBLE  64
 
262
#define PR_BITS_PER_WORD    64
 
263
 
 
264
#define PR_BITS_PER_BYTE_LOG2   3
 
265
#define PR_BITS_PER_SHORT_LOG2  4
 
266
#define PR_BITS_PER_INT_LOG2    5
 
267
#define PR_BITS_PER_INT64_LOG2  6
 
268
#define PR_BITS_PER_LONG_LOG2   6
 
269
#define PR_BITS_PER_FLOAT_LOG2  5
 
270
#define PR_BITS_PER_DOUBLE_LOG2 6
 
271
#define PR_BITS_PER_WORD_LOG2   6
 
272
 
 
273
#define PR_ALIGN_OF_SHORT   2
 
274
#define PR_ALIGN_OF_INT     4
 
275
#define PR_ALIGN_OF_LONG    8
 
276
#define PR_ALIGN_OF_INT64   8
 
277
#define PR_ALIGN_OF_FLOAT   4
 
278
#define PR_ALIGN_OF_DOUBLE  8
 
279
#define PR_ALIGN_OF_POINTER 8
 
280
#define PR_ALIGN_OF_WORD    8
 
281
 
 
282
#define PR_BYTES_PER_WORD_LOG2  3
 
283
#define PR_BYTES_PER_DWORD_LOG2 3
 
284
 
191
285
#elif defined(__powerpc__) || defined(__m68k__)
192
286
 
193
287
#undef  IS_LITTLE_ENDIAN