1/* 2 * 3 * nmzversion.c - Namazu library api - getting version 4 * 5 * $Id: nmzversion.c.in,v 1.1.2.2 2007-12-05 16:50:47 opengl2772 Exp $ 6 * 7 * Copyright (C) 2000-2003,2007 Namazu Project All rights reserved. 8 * Copyright (C) 1999 NOKUBI Takatsugu All rights reserved. 9 * This is free software with ABSOLUTELY NO WARRANTY. 10 * 11 * This program is free software; you can redistribute it and/or modify 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2 of the License, or 14 * (at your option) any later version. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with this program; if not, write to the Free Software 23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 24 * 02111-1307, USA 25 * 26 * 27 */ 28 29#ifdef HAVE_CONFIG_H 30# include "config.h" 31#endif 32#ifdef HAVE_SUPPORT_H 33# include "support.h" 34#endif 35 36#ifdef HAVE_UNISTD_H 37#include <unistd.h> 38#else 39# ifdef _WIN32 40# include <io.h> 41# endif 42#endif 43 44#ifdef HAVE_STRING_H 45# include <string.h> 46#else 47# include <strings.h> 48#endif 49 50#include "libnamazu.h" 51 52char * 53nmz_get_version(void) 54{ 55 return((char *) "%VERSION%"); 56} 57