1 /* 2 Copyright (c) 2005-2014 Freetalk Core Team 3 This file is part of GNU Freetalk. 4 5 Freetalk is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published 7 by the Free Software Foundation; either version 3 of the License, 8 or (at your option) any later version. 9 10 Freetalk is distributed in the hope that it will be useful, but 11 WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program. If not, see 17 <http://www.gnu.org/licenses/>. 18 */ 19 20 #ifndef __COMPAT_H__ 21 #define __COMPAT_H__ 22 23 #ifndef _CONFIG_H 24 #define _CONFIG_H 25 #include "config.h" 26 #endif 27 28 #ifdef HAVE_LIBINTL_H 29 #include <libintl.h> 30 31 #define _(String) gettext (String) 32 #define gettext_noop(String) String 33 #define N_(String) gettext_noop (String) 34 #endif 35 36 #include <libguile.h> 37 #if SCM_MAJOR_VERSION != 2 38 #error "wrong guile version unsupported" 39 #endif 40 #endif /* __COMPAT_H__ */ 41