From: curt Date: Fri, 6 Nov 1998 21:21:32 +0000 (+0000) Subject: Initial revision. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=58f981a98bbd712537b530e20a072855042a23a4;p=flightgear.git Initial revision. --- diff --git a/fg_traits.hxx b/fg_traits.hxx new file mode 100644 index 000000000..1547bcaa8 --- /dev/null +++ b/fg_traits.hxx @@ -0,0 +1,23 @@ +#ifndef _FG_TRAITS_HXX +#define _FG_TRAITS_HXX + +#include "Include/compiler.h" + +#ifndef FG_HAVE_TRAITS + +// Dummy up some char traits for now. +template struct char_traits{}; + +FG_TEMPLATE_NULL +struct char_traits +{ + 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