]> git.mxchange.org Git - flightgear.git/blob - src/Include/fg_traits.hxx
source tree reorganization prior to flightgear 0.7
[flightgear.git] / src / Include / fg_traits.hxx
1 #ifndef _FG_TRAITS_HXX
2 #define _FG_TRAITS_HXX
3
4 #include "Include/compiler.h"
5
6 #ifndef FG_HAVE_TRAITS
7
8 // Dummy up some char traits for now.
9 template<class charT> struct char_traits{};
10
11 FG_TEMPLATE_NULL
12 struct char_traits<char>
13 {
14     typedef char      char_type;
15     typedef int       int_type;
16     typedef streampos pos_type;
17     typedef streamoff off_type;
18
19     static int_type eof() { return EOF; }
20 };
21 #endif // FG_HAVE_TRAITS
22
23 #endif // _FG_TRAITS_HXX