/[bison]/bison/src/system.h
ViewVC logotype

Diff of /bison/src/system.h

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

revision 1.33 by akim, Thu Dec 27 18:12:48 2001 UTC revision 1.34 by akim, Sun Dec 30 21:06:22 2001 UTC
# Line 26  Line 26 
26    
27  #include <assert.h>  #include <assert.h>
28    
 #ifdef MSDOS  
 # include <io.h>  
 #endif  
   
 #ifdef _MSC_VER  
 # include <stdlib.h>  
 # include <process.h>  
 # define getpid _getpid  
 #endif  
   
29  #if HAVE_STDLIB_H  #if HAVE_STDLIB_H
30  # include <stdlib.h>  # include <stdlib.h>
31  #endif  #endif
# Line 62  Line 52 
52  # if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)  # if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
53  #  include <memory.h>  #  include <memory.h>
54  # endif /* not STDC_HEADERS and HAVE_MEMORY_H */  # endif /* not STDC_HEADERS and HAVE_MEMORY_H */
 # ifndef bcopy  
 #  define bcopy(src, dst, num) memcpy((dst), (src), (num))  
 # endif  
55  #else /* not STDC_HEADERS and not HAVE_STRING_H */  #else /* not STDC_HEADERS and not HAVE_STRING_H */
56  # include <strings.h>  # include <strings.h>
57  /* memory.h and strings.h conflict on some systems.  */  /* memory.h and strings.h conflict on some systems.  */
# Line 102  char *alloca (); Line 89  char *alloca ();
89    
90  # include "xalloc.h"  # include "xalloc.h"
91    
92    /* From xstrndup.c.  */
93    char *xstrndup PARAMS ((const char *s, size_t n));
94    
95  /*---------------------.  /*---------------------.
96  | Missing prototypes.  |  | Missing prototypes.  |
97  `---------------------*/  `---------------------*/
# Line 319  do {                                           \ Line 309  do {                                           \
309  #  include <dmalloc.h>  #  include <dmalloc.h>
310  # endif /* WITH_DMALLOC */  # endif /* WITH_DMALLOC */
311    
312  #endif  /* BISON_SYSTEM_H */  #endif  /* ! BISON_SYSTEM_H */

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

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