Commit a6ca37b6 authored by Gildas Bazin's avatar Gildas Bazin

* src/extras/libc.c: fixed typo.
* configure.ac.in: compilation fix on win32 for the mms access plugin (the
   plugin is linked with ws2_32).
parent 5813fcd8
......@@ -128,6 +128,7 @@ case "x${target_os}" in
LDFLAGS_ipv4="${LDFLAGS_ipv4} -lws2_32"
LDFLAGS_ipv6="${LDFLAGS_ipv6} -lws2_32"
LDFLAGS_access_http="${LDFLAGS_http} -lws2_32"
LDFLAGS_access_mms="${LDFLAGS_mms} -lws2_32"
LDFLAGS_rc="${LDFLAGS_rc} -lws2_32"
fi
;;
......
......@@ -2,7 +2,7 @@
* libc.c: Extra libc function for some systems.
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: libc.c,v 1.1 2002/11/10 23:41:53 sam Exp $
* $Id: libc.c,v 1.2 2002/11/12 10:44:04 gbazin Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Samuel Hocevar <sam@zoy.org>
......@@ -50,7 +50,7 @@ char *strdup( const char *string )
* strndup: returns a malloc'd copy of at most n bytes of string
* Does anyone know whether or not it will be present in Jaguar?
*****************************************************************************/
#ifndef HAVE_STRDUP
#ifndef HAVE_STRNDUP
char *strndup( const char *string, size_t n )
{
char *psz;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment