aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/ptrtypes.h
blob: 5d730ce3f9bf1bd9b1749bbbd089300e591a6c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _PTRTYPES_H_
#define _PTRTYPES_H_

#if (defined(WIN32))

typedef unsigned int uintptr_t;

#elif defined(linux)

typedef unsigned int uintptr_t;

#elif defined(__sun)  /* Solaris */

#ifdef _LP64
typedef unsigned long uintptr_t;
#else
typedef unsigned int uintptr_t;
#endif

#else

#error Please port ptrtypes.h to your platform

#endif

#endif /* #defined _PTRTYPES_H_ */