diff options
Diffstat (limited to 'lib/zconfig.h')
-rw-r--r-- | lib/zconfig.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/zconfig.h b/lib/zconfig.h new file mode 100644 index 00000000..f1bd6f78 --- /dev/null +++ b/lib/zconfig.h @@ -0,0 +1,42 @@ +/* Zebra common header. + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Kunihiro Ishiguro + +This file is part of GNU Zebra. + +GNU Zebra 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, or (at your option) any +later version. + +GNU Zebra 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 GNU Zebra; see the file COPYING. If not, write to the Free +Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +#ifndef _ZEBRA_CONFIG_H +#define _ZEBRA_CONFIG_H + +#ifdef HAVE_CONFIG_H + +#include "config.h" + +#undef _THREAD_SAFE +#define _THREAD_SAFE 1 + +#undef _REENTRANT +#define _REENTRANT 1 + +#ifdef _FEATURES_H +#error Features defined +#endif + +#include <features.h> + +#endif /* HAVE_CONFIG_H */ + +#endif /* _ZEBRA_CONFIG_H */ |