112
112
#define PR_CALLBACK_DECL
113
113
#define PR_STATIC_CALLBACK(__x) static __x
117
#define PR_CALLBACK_DECL __cdecl
120
#define PR_EXPORT(__type) extern __type _cdecl _export _loadds
121
#define PR_IMPORT(__type) extern __type _cdecl _export _loadds
122
#define PR_EXPORT_DATA(__type) extern __type _export
123
#define PR_IMPORT_DATA(__type) extern __type _export
125
#define PR_EXTERN(__type) extern __type _cdecl _export _loadds
126
#define PR_IMPLEMENT(__type) __type _cdecl _export _loadds
127
#define PR_EXTERN_DATA(__type) extern __type _export
128
#define PR_IMPLEMENT_DATA(__type) __type _export
130
#define PR_CALLBACK __cdecl __loadds
131
#define PR_STATIC_CALLBACK(__x) static __x PR_CALLBACK
133
#else /* this must be .EXE */
134
#define PR_EXPORT(__type) extern __type _cdecl _export
135
#define PR_IMPORT(__type) extern __type _cdecl _export
136
#define PR_EXPORT_DATA(__type) extern __type _export
137
#define PR_IMPORT_DATA(__type) extern __type _export
139
#define PR_EXTERN(__type) extern __type _cdecl _export
140
#define PR_IMPLEMENT(__type) __type _cdecl _export
141
#define PR_EXTERN_DATA(__type) extern __type _export
142
#define PR_IMPLEMENT_DATA(__type) __type _export
144
#define PR_CALLBACK __cdecl __loadds
145
#define PR_STATIC_CALLBACK(__x) __x PR_CALLBACK
148
#elif defined(XP_MAC)
150
#define PR_EXPORT(__type) extern __declspec(export) __type
151
#define PR_EXPORT_DATA(__type) extern __declspec(export) __type
152
#define PR_IMPORT(__type) extern __declspec(export) __type
153
#define PR_IMPORT_DATA(__type) extern __declspec(export) __type
155
#define PR_EXTERN(__type) extern __declspec(export) __type
156
#define PR_IMPLEMENT(__type) __declspec(export) __type
157
#define PR_EXTERN_DATA(__type) extern __declspec(export) __type
158
#define PR_IMPLEMENT_DATA(__type) __declspec(export) __type
161
#define PR_CALLBACK_DECL
162
#define PR_STATIC_CALLBACK(__x) static __x
164
115
#elif defined(XP_OS2) && defined(__declspec)
166
117
#define PR_EXPORT(__type) extern __declspec(dllexport) __type
396
347
#if PR_BYTES_PER_LONG == 8 && !defined(__APPLE__)
397
348
typedef long PRInt64;
398
349
typedef unsigned long PRUint64;
400
typedef __int64 PRInt64;
401
typedef unsigned __int64 PRUint64;
402
350
#elif defined(WIN32) && !defined(__GNUC__)
403
351
typedef __int64 PRInt64;
404
352
typedef unsigned __int64 PRUint64;