]> git.tdb.fi Git - libs/core.git/blob - source/types.h
Rename error.h to except.h
[libs/core.git] / source / types.h
1 /* $Id$
2
3 This file is part of libmspio
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7 #ifndef MSP_IO_TYPES_H_
8 #define MSP_IO_TYPES_H_
9
10 #ifdef WIN32
11 #include <windows.h>
12 #endif
13
14 namespace Msp {
15 namespace IO {
16
17 #ifdef WIN32
18 typedef HANDLE Handle;
19 #define MSP_IO_INVALID_HANDLE INVALID_HANDLE_VALUE
20 #else
21 typedef int Handle;
22 #define MSP_IO_INVALID_HANDLE -1
23 #endif
24
25 } // namespace IO
26 } // namespace Msp
27
28 #endif