1
0
Fork 0
flightgear/Include/fg_traits.hxx

24 lines
455 B
C++
Raw Normal View History

1998-11-06 21:21:32 +00:00
#ifndef _FG_TRAITS_HXX
#define _FG_TRAITS_HXX
#include "Include/compiler.h"
#ifndef FG_HAVE_TRAITS
// Dummy up some char traits for now.
template<class charT> struct char_traits{};
FG_TEMPLATE_NULL
struct char_traits<char>
{
typedef char char_type;
typedef int int_type;
typedef streampos pos_type;
typedef streamoff off_type;
static int_type eof() { return EOF; }
};
#endif // FG_HAVE_TRAITS
#endif // _FG_TRAITS_HXX