Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2010 02:12:24 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/include inttypes.h
Message-ID:  <201003310212.o2V2Cm8S065757@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jmallett    2010-03-31 02:12:24 UTC

  FreeBSD src repository

  Modified files:
    include              inttypes.h 
  Log:
  SVN rev 205954 on 2010-03-31 02:12:24Z by jmallett
  
  Be like stdlib.h and bring in a wchar_t definition and use it to prototype
  wcstoimax and wcstoumax, rather than spelling it __wchar_t.  This is necessary
  to use these functions in C++ where wchar_t is different to __wchar_t and is
  a built-in type.
  
  It may be better to use __wchar_t here and to simply define __wchar_t as being
  wchar_t in C++ mode rather than to bring in wchar_t, but this is less invasive
  and follows our existing practice, and restores wchar_t usage in this file to
  what it was before r1.8.
  
  Revision  Changes    Path
  1.9       +11 -4     src/include/inttypes.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003310212.o2V2Cm8S065757>