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

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