xsens_imu
cmtf.h
Go to the documentation of this file.
1 #ifndef _CMT_FILE_DEF_H_2007_01_24
2 #define _CMT_FILE_DEF_H_2007_01_24
3 
4 #include <stdio.h>
5 #ifndef _PSTDINT_H_INCLUDED
6 # include "pstdint.h"
7 #endif
8 
9 #ifndef _WIN32
10 # include <sys/types.h>
11 #endif
12 
13 #ifdef _CMT_STATIC_LIB
14 namespace xsens {
15 #endif
16 
17 #ifdef _WIN32
18  typedef __int64 CmtFilePos;
19 #else
20  typedef off_t CmtFilePos;
21 #endif
22 
23 #ifdef _CMT_STATIC_LIB
24 } // end of xsens namespace
25 #endif
26 
27 // setFilePos defines
28 #ifdef _WIN32
29 # define CMT_FILEPOS_BEGIN FILE_BEGIN
30 # define CMT_FILEPOS_CURRENT FILE_CURRENT
31 # define CMT_FILEPOS_END FILE_END
32 #else
33 # define CMT_FILEPOS_BEGIN SEEK_SET
34 # define CMT_FILEPOS_CURRENT SEEK_CUR
35 # define CMT_FILEPOS_END SEEK_END
36 #endif
37 
38 #endif
off_t CmtFilePos
Definition: cmtf.h:20