]> git.sesse.net Git - vlc/commitdiff
* src/extras/libc.c: fixed typo.
authorGildas Bazin <gbazin@videolan.org>
Tue, 12 Nov 2002 10:44:04 +0000 (10:44 +0000)
committerGildas Bazin <gbazin@videolan.org>
Tue, 12 Nov 2002 10:44:04 +0000 (10:44 +0000)
* configure.ac.in: compilation fix on win32 for the mms access plugin (the
   plugin is linked with ws2_32).

configure.ac.in
src/extras/libc.c

index b090df6ab8fbee3298e4a6d3bd85ba61326821cd..d1ebebe39612414dd1f9f54f6ae6824520e7b5ed 100644 (file)
@@ -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
     ;;
index 0b66f61bb2ebd7a87b587eedaf5a9e81c25ef2f3..3b26d244365fedbfe361d881b2f7c94821db851a 100644 (file)
@@ -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;