|
|
1.1 ! root 1: #ifdef MSDOS ! 2: #include <io.h> ! 3: #endif ! 4: ! 5: #if defined(HAVE_STDLIB_H) || defined(MSDOS) ! 6: #include <stdlib.h> ! 7: #endif ! 8: ! 9: #if (defined(VMS) || defined(MSDOS)) && !defined(HAVE_STRING_H) ! 10: #define HAVE_STRING_H 1 ! 11: #endif ! 12: ! 13: #if defined(STDC_HEADERS) || defined(HAVE_STRING_H) ! 14: #include <string.h> ! 15: /* An ANSI string.h and pre-ANSI memory.h might conflict. */ ! 16: #if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) ! 17: #include <memory.h> ! 18: #endif /* not STDC_HEADERS and HAVE_MEMORY_H */ ! 19: #ifndef bcopy ! 20: #define bcopy(src, dst, num) memcpy((dst), (src), (num)) ! 21: #endif ! 22: #else /* not STDC_HEADERS and not HAVE_STRING_H */ ! 23: #include <strings.h> ! 24: /* memory.h and strings.h conflict on some systems. */ ! 25: #endif /* not STDC_HEADERS and not HAVE_STRING_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.