source: trunk/source/visualization/HepRep/include/HEPREP/Types.h @ 834

Last change on this file since 834 was 834, checked in by garnier, 16 years ago

import all except CVS

  • Property svn:executable set to *
File size: 694 bytes
Line 
1#ifndef HEPREP_TYPES_H
2#define HEPREP_TYPES_H 1
3
4namespace HEPREP {
5
6#if defined(WIN32) && !defined(GNU_GCC)
7
8// WIN32 and NOT GNU_GCC
9typedef long int32;
10typedef __int64 int64;
11#define HEPREP_INT32_FORMAT "%d"
12#define HEPREP_INT64_FORMAT "%ld"
13
14#else // other than WIN32-MSVC
15#if defined(_LP64)
16
17// 64 Bit Platforms
18typedef int int32;
19typedef long int64;
20#define HEPREP_INT32_FORMAT "%d"
21#define HEPREP_INT64_FORMAT "%ld"
22
23#else
24
25// 32-Bit Platforms
26typedef long int32;
27typedef long long int64;
28#define HEPREP_INT32_FORMAT "%ld"
29#define HEPREP_INT64_FORMAT "%lld"
30
31#endif // 32-Bit Platforms
32#endif // other than WIN32-MSVC
33
34} // namespace HEPREP
35
36#endif
Note: See TracBrowser for help on using the repository browser.