Move "loop" related tests in their own dir. This is just to break the ice... ideally...
[gnash.git] / libbase / GnashSystemIOHeaders.h
blob5991ed3bf3d0ef2bb7dd33166474c6e685fe7682
1 // GnashImageSystemIOHeaders.h: Compatibility IO header for Gnash.
2 //
3 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
4 // Foundation, Inc
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 /// This file should be included for:
24 /// read()
25 /// write()
27 #ifndef GNASH_IO_HEADERS_H
28 #define GNASH_IO_HEADERS_H
30 /// Always include unistd.h unless compiling under MSVC++
32 /// This isn't always necessary on GNU/Linux under gcc, but it's still good
33 /// practice to include it.
35 /// @todo A configure 'test' (a #define in gnashconfig.h) might be a better
36 /// way of checking for compiler.
38 #if !defined(_MSC_VER)
39 # include <unistd.h>
40 #else
41 #include <io.h>
42 #endif
44 #endif