/[emacs]/emacs/src/tparam.c
ViewVC logotype

Diff of /emacs/src/tparam.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by gerd, Fri Dec 8 09:58:48 2000 UTC revision 1.8 by rms, Sun Mar 3 20:11:36 2002 UTC
# Line 24  Boston, MA 02111-1307, USA.  */ Line 24  Boston, MA 02111-1307, USA.  */
24  #ifdef emacs  #ifdef emacs
25  #include "lisp.h"               /* for xmalloc */  #include "lisp.h"               /* for xmalloc */
26  #else  #else
 #if defined(HAVE_STRING_H) || defined(STDC_HEADERS)  
 #define bcopy(s, d, n) memcpy ((d), (s), (n))  
 #endif  
27    
28  #ifdef STDC_HEADERS  #ifdef STDC_HEADERS
29  #include <stdlib.h>  #include <stdlib.h>
# Line 36  char *malloc (); Line 33  char *malloc ();
33  char *realloc ();  char *realloc ();
34  #endif  #endif
35    
36    /* Do this after the include, in case string.h prototypes bcopy.  */
37    #if (defined(HAVE_STRING_H) || defined(STDC_HEADERS)) && !defined(bcopy)
38    #define bcopy(s, d, n) memcpy ((d), (s), (n))
39    #endif
40    
41  #endif /* not emacs */  #endif /* not emacs */
42    
43  #ifndef NULL  #ifndef NULL

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26