Edit

thodg/libiconv/gnulib-local/lib/strerror.c.diff

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2006-07-29 14:42:53
    Hash : b916d71e
    Message : Diffs relative to gnulib. Needed for --enable-relocatable.

  • gnulib-local/lib/strerror.c.diff
  • *** gnulib/lib/strerror.c	2005-09-19 19:28:15.000000000 +0200
    --- srclib/strerror.c	2005-10-10 13:00:57.000000000 +0200
    ***************
    *** 21,26 ****
    --- 21,28 ----
      # include <config.h>
      #endif
      
    + #if !HAVE_STRERROR
    + 
      #include <limits.h>
      
      /* Don't include <stdio.h>, since it may or may not declare
    ***************
    *** 47,49 ****
    --- 49,59 ----
        else
          return sys_errlist[n];
      }
    + 
    + #else
    + 
    + /* This declaration is solely to ensure that after preprocessing
    +    this file is never empty.  */
    + typedef int dummy;
    + 
    + #endif