2003-01-02 19:35:31 +00:00
|
|
|
/* Portable <regex.h>.
|
2011-01-01 15:34:07 +00:00
|
|
|
Copyright (C) 2000, 2001, 2003, 2007, 2008, 2009, 2010, 2011
|
2009-01-03 05:58:08 +00:00
|
|
|
Free Software Foundation, Inc.
|
2000-04-04 02:08:52 +00: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 18:08:50 +00:00
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
2000-04-04 02:08:52 +00: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 18:08:50 +00:00
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
2000-04-04 02:08:52 +00:00
|
|
|
|
2001-09-01 21:38:05 +00:00
|
|
|
#ifndef GDB_REGEX_H
|
2003-01-02 19:35:31 +00:00
|
|
|
#define GDB_REGEX_H 1
|
2001-09-01 21:38:05 +00:00
|
|
|
|
2000-04-04 02:08:52 +00:00
|
|
|
#ifdef USE_INCLUDED_REGEX
|
2003-01-02 19:35:31 +00:00
|
|
|
# include "xregex.h"
|
2000-04-04 02:08:52 +00:00
|
|
|
#else
|
2003-01-02 19:35:31 +00:00
|
|
|
/* Request 4.2 BSD regex functions. */
|
|
|
|
# define _REGEX_RE_COMP
|
|
|
|
# include <regex.h>
|
2000-04-04 02:08:52 +00:00
|
|
|
#endif
|
2001-09-01 21:38:05 +00:00
|
|
|
|
2003-01-02 19:35:31 +00:00
|
|
|
#endif /* not GDB_REGEX_H */
|