diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-02-12 11:07:18 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-02-12 11:07:18 (GMT) |
commit | bd7029a99b0c2974265c6665638ef14a052f42ab (patch) | |
tree | f5661ba73366d81ef6e91f889ea7fec5ebe07b6b /gl/regex_internal.h | |
parent | f99612320d6eda67644c07be04bb21aa4d7789db (diff) | |
download | monitoring-plugins-bd7029a99b0c2974265c6665638ef14a052f42ab.tar.gz |
Sync to latest Gnulib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1925 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'gl/regex_internal.h')
-rw-r--r-- | gl/regex_internal.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/gl/regex_internal.h b/gl/regex_internal.h index b0f7e65..f96291d 100644 --- a/gl/regex_internal.h +++ b/gl/regex_internal.h | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify | 6 | This program is free software; you can redistribute it and/or modify |
7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
8 | the Free Software Foundation; either version 2, or (at your option) | 8 | the Free Software Foundation; either version 3, or (at your option) |
9 | any later version. | 9 | any later version. |
10 | 10 | ||
11 | This program is distributed in the hope that it will be useful, | 11 | This program is distributed in the hope that it will be useful, |
@@ -27,12 +27,10 @@ | |||
27 | #include <stdlib.h> | 27 | #include <stdlib.h> |
28 | #include <string.h> | 28 | #include <string.h> |
29 | 29 | ||
30 | #ifndef _LIBC | 30 | #ifdef _LIBC |
31 | # include "strcase.h" | ||
32 | #endif | ||
33 | |||
34 | #if defined HAVE_LANGINFO_H || defined HAVE_LANGINFO_CODESET || defined _LIBC | ||
35 | # include <langinfo.h> | 31 | # include <langinfo.h> |
32 | #else | ||
33 | # include "localcharset.h" | ||
36 | #endif | 34 | #endif |
37 | #if defined HAVE_LOCALE_H || defined _LIBC | 35 | #if defined HAVE_LOCALE_H || defined _LIBC |
38 | # include <locale.h> | 36 | # include <locale.h> |
@@ -50,7 +48,7 @@ | |||
50 | #endif | 48 | #endif |
51 | 49 | ||
52 | /* In case that the system doesn't have isblank(). */ | 50 | /* In case that the system doesn't have isblank(). */ |
53 | #if !defined _LIBC && !HAVE_DECL_ISBLANK && !defined isblank | 51 | #if !defined _LIBC && ! (defined isblank || (HAVE_ISBLANK && HAVE_DECL_ISBLANK)) |
54 | # define isblank(ch) ((ch) == ' ' || (ch) == '\t') | 52 | # define isblank(ch) ((ch) == ' ' || (ch) == '\t') |
55 | #endif | 53 | #endif |
56 | 54 | ||
@@ -116,9 +114,6 @@ | |||
116 | # define __wctype wctype | 114 | # define __wctype wctype |
117 | # define __iswctype iswctype | 115 | # define __iswctype iswctype |
118 | # define __btowc btowc | 116 | # define __btowc btowc |
119 | # ifndef __mempcpy | ||
120 | # define __mempcpy mempcpy | ||
121 | # endif | ||
122 | # define __wcrtomb wcrtomb | 117 | # define __wcrtomb wcrtomb |
123 | # define __regfree regfree | 118 | # define __regfree regfree |
124 | # define attribute_hidden | 119 | # define attribute_hidden |