2003-01-02 20:35:31 +01:00
|
|
|
/* Portable <regex.h>.
|
2009-01-03 06:58:08 +01:00
|
|
|
Copyright (C) 2000, 2001, 2003, 2007, 2008, 2009
|
|
|
|
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
|
2007-08-23 20:08:50 +02:00
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
2000-04-04 04:08:52 +02:00
|
|
|
(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
|
2007-08-23 20:08:50 +02:00
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
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 */
|