OpendTect-6_4  6.4
plftypes.h
Go to the documentation of this file.
1 #ifndef plftypes_h
2 #define plftypes_h
3 
4 /*
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H.Bril
9  Contents: Platform dependent types
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 */
14 
15 #include "plfdefs.h"
16 
17 #ifdef __sun__
18 # include <sys/types.h>
19 #else
20 # ifndef __msvc__
21 # include <stdint.h>
22 # endif
23 
24 #endif
25 
26 /* 16 bits short is standard. Only use to emphasise the 16-bitness */
27 #define od_int16 short
28 #define od_uint16 unsigned short
29 
30 /* 32 bits int is standard. Only use to emphasise the 32-bitness */
31 #define od_int32 int
32 #define od_uint32 unsigned int
33 
34 /* 64 bits is int64_t. The definition is in various header files. */
35 #ifndef __msvc__
36 # define od_int64 int64_t
37 # define od_uint64 uint64_t
38 #else
39 # define od_int64 __int64
40 # define od_uint64 unsigned __int64
41 #endif
42 
43 #endif

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019