]> git.tdb.fi Git - libs/core.git/blob - source/types.h
Move class members and comments around
[libs/core.git] / source / types.h
1 #ifndef MSP_IO_TYPES_H_
2 #define MSP_IO_TYPES_H_
3
4 #ifdef WIN32
5 #include <windows.h>
6 #endif
7
8 namespace Msp {
9 namespace IO {
10
11 #ifdef WIN32
12 typedef HANDLE Handle;
13 #define MSP_IO_INVALID_HANDLE INVALID_HANDLE_VALUE
14 #else
15 typedef int Handle;
16 #define MSP_IO_INVALID_HANDLE -1
17 #endif
18
19 } // namespace IO
20 } // namespace Msp
21
22 #endif