Mercurial > emacs
comparison src/strftime.c @ 34302:1139c325f625
Change some #if foo to #ifdef foo.
Fix copyright years.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 06 Dec 2000 19:56:47 +0000 |
parents | 52117f9867f2 |
children | e4835ecdffbc |
comparison
equal
deleted
inserted
replaced
34301:7ab80112df37 | 34302:1139c325f625 |
---|---|
1 /* Copyright (C) 1991-1999, 2000 Free Software Foundation, Inc. | 1 /* Copyright (C) 1991,92,93,94,95,96,97,98,99,2000 Free Software Foundation, Inc. |
2 This file is part of the GNU Emacs. | 2 This file is part of the GNU Emacs. |
3 | 3 |
4 The GNU C Library is free software; you can redistribute it and/or | 4 The GNU C Library is free software; you can redistribute it and/or |
5 modify it under the terms of the GNU Library General Public License as | 5 modify it under the terms of the GNU Library General Public License as |
6 published by the Free Software Foundation; either version 2 of the | 6 published by the Free Software Foundation; either version 2 of the |
75 # define mbsinit(ps) (*(ps) == 0) | 75 # define mbsinit(ps) (*(ps) == 0) |
76 # endif | 76 # endif |
77 static const mbstate_t mbstate_zero; | 77 static const mbstate_t mbstate_zero; |
78 #endif | 78 #endif |
79 | 79 |
80 #if HAVE_LIMITS_H | 80 #ifdef HAVE_LIMITS_H |
81 # include <limits.h> | 81 # include <limits.h> |
82 #endif | 82 #endif |
83 | 83 |
84 #if STDC_HEADERS | 84 #ifdef STDC_HEADERS |
85 # include <stddef.h> | 85 # include <stddef.h> |
86 # include <stdlib.h> | 86 # include <stdlib.h> |
87 # include <string.h> | |
88 #else | 87 #else |
89 # ifndef HAVE_MEMCPY | 88 # ifndef HAVE_MEMCPY |
90 # define memcpy(d, s, n) bcopy ((s), (d), (n)) | 89 # define memcpy(d, s, n) bcopy ((s), (d), (n)) |
91 # endif | 90 # endif |
92 #endif | 91 #endif |