1217309Snwhitehorn/* 2217309Snwhitehorn * $Id: version.c,v 1.6 2010/01/15 23:34:46 tom Exp $ 3217309Snwhitehorn * 4217309Snwhitehorn * version.c -- dialog's version string 5217309Snwhitehorn * 6217309Snwhitehorn * Copyright 2005-2006,2010 Thomas E. Dickey 7217309Snwhitehorn * 8217309Snwhitehorn * This program is free software; you can redistribute it and/or modify 9217309Snwhitehorn * it under the terms of the GNU Lesser General Public License, version 2.1 10217309Snwhitehorn * as published by the Free Software Foundation. 11217309Snwhitehorn * 12217309Snwhitehorn * This program is distributed in the hope that it will be useful, but 13217309Snwhitehorn * WITHOUT ANY WARRANTY; without even the implied warranty of 14217309Snwhitehorn * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15217309Snwhitehorn * Lesser General Public License for more details. 16217309Snwhitehorn * 17217309Snwhitehorn * You should have received a copy of the GNU Lesser General Public 18217309Snwhitehorn * License along with this program; if not, write to 19217309Snwhitehorn * Free Software Foundation, Inc. 20217309Snwhitehorn * 51 Franklin St., Fifth Floor 21217309Snwhitehorn * Boston, MA 02110, USA. 22217309Snwhitehorn */ 23217309Snwhitehorn#include <dialog.h> 24217309Snwhitehorn 25217309Snwhitehorn#define quoted(a) #a 26217309Snwhitehorn#define concat(a,b) a "-" quoted(b) 27217309Snwhitehorn#define DLG_VERSION concat(DIALOG_VERSION,DIALOG_PATCHDATE) 28217309Snwhitehorn 29217309Snwhitehornconst char * 30217309Snwhitehorndialog_version(void) 31217309Snwhitehorn{ 32217309Snwhitehorn return DLG_VERSION; 33217309Snwhitehorn} 34