2003-01-02 20:35:31 +01:00
|
|
|
/* Portable <regex.h>.
|
2005-12-17 23:34:03 +01:00
|
|
|
Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
|
2000-04-04 04:08:52 +02:00
|
|
|
|
|
|
|
This file is part of GDB.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
2005-12-17 23:34:03 +01:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA. */
|
2000-04-04 04:08:52 +02:00
|
|
|
|
2001-09-01 23:38:05 +02:00
|
|
|
#ifndef GDB_REGEX_H
|
2003-01-02 20:35:31 +01:00
|
|
|
#define GDB_REGEX_H 1
|
2001-09-01 23:38:05 +02:00
|
|
|
|
2000-04-04 04:08:52 +02:00
|
|
|
#ifdef USE_INCLUDED_REGEX
|
2003-01-02 20:35:31 +01:00
|
|
|
# include "xregex.h"
|
2000-04-04 04:08:52 +02:00
|
|
|
#else
|
2003-01-02 20:35:31 +01:00
|
|
|
/* Request 4.2 BSD regex functions. */
|
|
|
|
# define _REGEX_RE_COMP
|
|
|
|
# include <regex.h>
|
2000-04-04 04:08:52 +02:00
|
|
|
#endif
|
2001-09-01 23:38:05 +02:00
|
|
|
|
2003-01-02 20:35:31 +01:00
|
|
|
#endif /* not GDB_REGEX_H */
|