4
0

strftime.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * strftime.c
  3. * Portable strftime implementation. Uses GNU's strftime().
  4. *
  5. * $Id: strftime.c,v 1.2 2001/04/12 02:39:44 guppy Exp $
  6. */
  7. /*
  8. * Copyright (C) 2000, 2001 Eggheads Development Team
  9. * Written by Fabian Knittel
  10. *
  11. * This program is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU General Public License
  13. * as published by the Free Software Foundation; either version 2
  14. * of the License, or (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 02111-1307, USA.
  24. */
  25. #include "src/main.h"
  26. #include "strftime.h"
  27. #ifndef HAVE_STRFTIME
  28. # undef emacs
  29. # undef _LIBC
  30. # define strftime egg_strftime
  31. # include "gnu_strftime.c"
  32. #endif /* !HAVE_STRFTIME */