source: trunk/grep/vms/config_vms.h@ 3022

Last change on this file since 3022 was 2557, checked in by bird, 19 years ago

grep 2.5.1a

File size: 798 bytes
Line 
1/* Configuration file for OpenVMS */
2
3#define HAVE_STRING_H 1
4
5#define HAVE_MEMCHAR
6
7#define HAVE_STRERROR
8
9#define HAVE_STDLIB_H 1
10
11#define HAVE_UNISTD_H 1
12
13#define STDC_HEADERS
14
15#define HAVE_DIRENT_H 1
16
17#define VERSION "2.4.1"
18/* Avoid namespace collision with operating system supplied C library */
19
20/* Make sure we have the C-RTL definitions */
21#include <unistd.h>
22#include <stdio.h>
23
24/* Now override everything with the GNU version */
25#ifdef VMS
26# define getopt gnu_getopt
27# define optarg gnu_optarg
28# define optopt gnu_optopt
29# define optind gnu_optind
30# define opterr gnu_opterr
31#endif
32
33#if defined(VMS) && defined(__DECC) /* need function prototype */
34#if (__DECC_VER<50790004) /* have an own one */
35char *alloca(unsigned int);
36#else
37#define alloca __ALLOCA
38#endif
39#endif
Note: See TracBrowser for help on using the repository browser.