2003-01-02 19:35:31 +00:00
|
|
|
/* Portable <regex.h>.
|
2005-12-17 22:34:03 +00:00
|
|
|
Copyright (C) 2000, 2001, 2003 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
|
|
|
|
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 22:34:03 +00:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA. */
|
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 */
|