00001 /* 00002 * strftime.c 00003 * Portable strftime implementation. Uses GNU's strftime(). 00004 * 00005 * $Id: strftime.c,v 1.13 2011/02/13 14:19:33 simple Exp $ 00006 */ 00007 /* 00008 * Copyright (C) 2000 - 2011 Eggheads Development Team 00009 * Written by Fabian Knittel 00010 * 00011 * This program is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU General Public License 00013 * as published by the Free Software Foundation; either version 2 00014 * of the License, or (at your option) any later version. 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 */ 00025 00026 #include "src/main.h" 00027 #include "strftime.h" 00028 00029 #ifndef HAVE_STRFTIME 00030 # undef emacs 00031 # undef _LIBC 00032 # define strftime egg_strftime 00033 00034 # include "gnu_strftime.c" 00035 #endif /* !HAVE_STRFTIME */