]> git.mxchange.org Git - flightgear.git/commitdiff
Initial revision.
authorcurt <curt>
Fri, 6 Nov 1998 21:21:32 +0000 (21:21 +0000)
committercurt <curt>
Fri, 6 Nov 1998 21:21:32 +0000 (21:21 +0000)
fg_traits.hxx [new file with mode: 0644]

diff --git a/fg_traits.hxx b/fg_traits.hxx
new file mode 100644 (file)
index 0000000..1547bca
--- /dev/null
@@ -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<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