strnlen itself alone works. Selon Campbell Barton <[email protected]>:
> 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, [email protected] > <[email protected]> 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 > > [email protected] > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > > > -- > - Campbell > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
