Mercurial > hg > octave-kai > gnulib-hg
changeset 8320:3e28c7035f38
Oops, really avoid an empty translation unit.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 04 Mar 2007 00:06:30 +0000 |
parents | d1eb4f557f34 |
children | 62f511413578 |
files | lib/strerror.c |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/strerror.c +++ b/lib/strerror.c @@ -19,9 +19,9 @@ #include <config.h> -#include <limits.h> +#if !HAVE_STRERROR -#if !HAVE_STRERROR +#include <limits.h> /* Don't include <stdio.h>, since it may or may not declare sys_errlist and its declarations may collide with ours. Just @@ -48,4 +48,10 @@ return sys_errlist[n]; } -#endif /* !HAVE_STRERROR */ +#else + +/* This declaration is solely to ensure that after preprocessing + this file is never empty. */ +typedef int dummy; + +#endif