[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28662] trunk/blender/source/blender/ blenlib: remove BLI_strnlen, use _strnlen as strnlen on windows.

jmsoler at free.fr jmsoler at free.fr
Sat May 8 16:57:44 CEST 2010


strnlen itself alone works.

Selon Campbell Barton <ideasman42 at gmail.com>:

> does replacing _strnlen with strnlen_s work?
> Windows seems to have a number of these functions.
>
> http://msdn.microsoft.com/en-us/library/z50ty2zh.aspx
> http://msdn.microsoft.com/en-us/library/z50ty2zh%28VS.80%29.aspx
>
> On Sat, May 8, 2010 at 3:26 PM, loopduplicate at burningtoken.com
> <loopduplicate at burningtoken.com> wrote:
> > Broke building on WinXP mingw scons
> > "undefined reference to _strnlen" in BLI_dynstr.c
> >
> > On 5/8/2010 12:34 AM, Campbell Barton wrote:
> >> Revision: 28662
> >>          
>
 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28662
> >> Author:   campbellbarton
> >> Date:     2010-05-08 09:34:01 +0200 (Sat, 08 May 2010)
> >>
> >> Log Message:
> >> -----------
> >> remove BLI_strnlen, use _strnlen as strnlen on windows.
> >> cant test on windows but from what I can tell this exists like _vsnprintf
> >>
> >>
> >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> >
>
>
>
> --
> - Campbell
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>




More information about the Bf-committers mailing list