[PATCH] Use fseek/ftell instead of fseeko/ftello when Newlib is the libc

JF Bastien jfb at chromium.org
Thu Dec 11 13:41:02 PST 2014


================
Comment at: include/iosfwd:184
@@ +183,3 @@
+#if defined(_NEWLIB_VERSION)
+typedef long int streamoff;        // for char_traits in <string>
+#else
----------------
jroelofs wrote:
> jfb wrote:
> > Where does this come from?
> <__config>
I meant: add a comment to the code so people reading it know why `long int` is used.

http://reviews.llvm.org/D6626

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list