mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-09 13:02:01 +03:00
* eregex.h [!USE_INCLUDED_REGEX]: Include <regex.h>.
* regex.c: Compile only if USE_INCLUDED_REGEX is defined.
This commit is contained in:
parent
20154c6f50
commit
3c239079b2
@ -1,3 +1,8 @@
|
||||
2002-03-26 Andrew V. Samoilov <kai@cmail.ru>
|
||||
|
||||
* eregex.h [!USE_INCLUDED_REGEX]: Include <regex.h>.
|
||||
* regex.c: Compile only if USE_INCLUDED_REGEX is defined.
|
||||
|
||||
2002-03-25 Andrew V. Samoilov <kai@cmail.ru>
|
||||
|
||||
* complete.c (insert_text): Fix buffer overflow.
|
||||
|
@ -19,6 +19,9 @@
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
|
||||
#ifndef USE_INCLUDED_REGEX
|
||||
#include <regex.h>
|
||||
#else
|
||||
#ifndef _REGEX_H
|
||||
#define _REGEX_H 1
|
||||
|
||||
@ -563,3 +566,4 @@ version-control: t
|
||||
trim-versions-without-asking: nil
|
||||
End:
|
||||
*/
|
||||
#endif
|
||||
|
@ -32,6 +32,7 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef USE_INCLUDED_REGEX
|
||||
#ifndef PARAMS
|
||||
# if defined __GNUC__ || (defined __STDC__ && __STDC__)
|
||||
# define PARAMS(args) args
|
||||
@ -8358,3 +8359,4 @@ weak_alias (__regfree, regfree)
|
||||
# undef WCHAR
|
||||
|
||||
# define DEFINED_ONCE
|
||||
#endif /* USE_INCLUDED_REGEX */
|
||||
|
Loading…
Reference in New Issue
Block a user