]>
git.saurik.com Git - bison.git/blob - src/system.h
15 #define getpid _getpid
18 #if defined(HAVE_STDLIB_H) || defined(MSDOS)
22 #if defined(HAVE_UNISTD_H)
26 #if (defined(VMS) || defined(MSDOS)) && !defined(HAVE_STRING_H)
27 #define HAVE_STRING_H 1
30 #if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
32 /* An ANSI string.h and pre-ANSI memory.h might conflict. */
33 #if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
35 #endif /* not STDC_HEADERS and HAVE_MEMORY_H */
37 #define bcopy(src, dst, num) memcpy((dst), (src), (num))
39 #else /* not STDC_HEADERS and not HAVE_STRING_H */
41 /* memory.h and strings.h conflict on some systems. */
42 #endif /* not STDC_HEADERS and not HAVE_STRING_H */
44 #if defined(STDC_HEADERS) || defined(HAVE_CTYPE_H)
51 #ifndef HAVE_SETLOCALE
52 # define setlocale(Category, Locale)
57 # define _(Text) gettext (Text)
59 # define bindtextdomain(Domain, Directory)
60 # define textdomain(Domain)
65 /* In the meantime, waiting for Automake. */
66 #define LOCALEDIR "/usr/local/share/locale"
68 #endif /* BISON_SYSTEM_H */