| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * os_vms_conf.h.  Replaces auto/config.h for VMS | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define CASE_INSENSITIVE_FILENAME   // Open VMS is case insensitive
 | 
					
						
							|  |  |  | #define SPACE_IN_FILENAME	    // There could be space between user and passwd
 | 
					
						
							|  |  |  | #define FNAME_ILLEGAL "|*#?%"       // Illegal characters in a file name
 | 
					
						
							|  |  |  | #define BINARY_FILE_IO		    // Use binary fileio
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define USE_GETCWD
 | 
					
						
							|  |  |  | #define USE_SYSTEM
 | 
					
						
							| 
									
										
										
										
											2019-01-17 17:13:30 +01:00
										 |  |  | #define XPMATTRIBUTES_TYPE XpmAttributes
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define when terminfo support found
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #undef TERMINFO
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define when termcap.h contains ospeed
 | 
					
						
							|  |  |  | // #define HAVE_OSPEED
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define when termcap.h contains UP, BC and PC
 | 
					
						
							|  |  |  | // #define HAVE_UP_BC_PC
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define when termcap.h defines outfuntype
 | 
					
						
							|  |  |  | //#define HAVE_OUTFUNTYPE
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define when __DATE__ " " __TIME__ can be used
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define HAVE_DATE_TIME
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Defined to the size of an int
 | 
					
						
							| 
									
										
										
										
											2019-07-04 17:35:05 +02:00
										 |  |  | #define VIM_SIZEOF_INT  4
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // #undef USEBCOPY
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define USEMEMMOVE
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // #undef USEMEMCPY
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define when "man -s 2" is to be used
 | 
					
						
							|  |  |  | // #undef USEMAN_S
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define to empty if the keyword does not work.
 | 
					
						
							|  |  |  | // #undef const
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define to `int' if <sys/types.h> doesn't define.
 | 
					
						
							|  |  |  | // #undef mode_t
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define to `long' if <sys/types.h> doesn't define.
 | 
					
						
							|  |  |  | // #undef off_t
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define to `long' if <sys/types.h> doesn't define.
 | 
					
						
							|  |  |  | // #undef pid_t
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define to `unsigned' if <sys/types.h> doesn't define.
 | 
					
						
							|  |  |  | // #undef size_t
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define to `int' if <sys/types.h> doesn't define.
 | 
					
						
							|  |  |  | // #undef uid_t
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define to `unsigned int' or other type that is 32 bit.
 | 
					
						
							| 
									
										
										
										
											2010-07-28 19:38:16 +02:00
										 |  |  | #define UINT32_T unsigned int
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define to `int' if <sys/types.h> doesn't define.
 | 
					
						
							|  |  |  | // #undef gid_t
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define to `long' if <sys/types.h> doesn't define.
 | 
					
						
							|  |  |  | // #undef ino_t
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if you have the nanosleep() function.
 | 
					
						
							|  |  |  | // #undef HAVE_NANOSLEEP
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if you can safely include both <sys/time.h> and <time.h>.
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define TIME_WITH_SYS_TIME
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if you can safely include both <sys/time.h> and <sys/select.h>.
 | 
					
						
							|  |  |  | // #undef SYS_SELECT_WITH_SYS_TIME
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define as the return type of signal handlers (int or void).
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define RETSIGTYPE void
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define as the command at the end of signal handlers ("" or "return 0;").
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define SIGRETURN return
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if struct sigcontext is present
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define HAVE_SIGCONTEXT
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if toupper/tolower only work on lower/uppercase characters
 | 
					
						
							|  |  |  | // #define BROKEN_TOUPPER
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if tgetstr() has a second argument that is (char *)
 | 
					
						
							|  |  |  | // #undef TGETSTR_CHAR_P
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if you have the sigset() function.
 | 
					
						
							|  |  |  | // #undef HAVE_SIGSET
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if you have the setpgid() function.
 | 
					
						
							|  |  |  | // #undef HAVE_SETPGID
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if you have the setsid() function.
 | 
					
						
							|  |  |  | // #undef HAVE_SETSID
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Define if you have the sigset() function.
 | 
					
						
							|  |  |  | // #undef HAVE_SIGSET
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #define TGETENT_ZERO_ERR
 | 
					
						
							|  |  |  | #define HAVE_GETCWD
 | 
					
						
							|  |  |  | #define HAVE_STRCSPN
 | 
					
						
							|  |  |  | #define HAVE_STRTOL
 | 
					
						
							|  |  |  | #define HAVE_TGETENT
 | 
					
						
							|  |  |  | #define HAVE_MEMSET
 | 
					
						
							|  |  |  | #define HAVE_STRERROR
 | 
					
						
							|  |  |  | #define HAVE_FCHOWN
 | 
					
						
							|  |  |  | #define HAVE_RENAME
 | 
					
						
							|  |  |  | #define HAVE_QSORT
 | 
					
						
							|  |  |  | #define HAVE_FSYNC
 | 
					
						
							|  |  |  | #define HAVE_GETPWUID
 | 
					
						
							|  |  |  | #define HAVE_GETPWNAM
 | 
					
						
							|  |  |  | #define	HAVE_STDLIB_H
 | 
					
						
							|  |  |  | #define	HAVE_STRING_H
 | 
					
						
							|  |  |  | #define	HAVE_ERRNO_H
 | 
					
						
							|  |  |  | #define HAVE_OPENDIR
 | 
					
						
							|  |  |  | #define HAVE_PUTENV
 | 
					
						
							|  |  |  | #define HAVE_SETENV
 | 
					
						
							|  |  |  | #define HAVE_SETJMP_H
 | 
					
						
							| 
									
										
										
										
											2008-09-01 14:51:37 +00:00
										 |  |  | #define HAVE_MATH_H
 | 
					
						
							|  |  |  | #define HAVE_FLOAT_FUNCS
 | 
					
						
							| 
									
										
										
										
											2019-01-17 17:13:30 +01:00
										 |  |  | #define HAVE_GETTIMEOFDAY
 | 
					
						
							|  |  |  | #define HAVE_PWD_H
 | 
					
						
							|  |  |  | #define HAVE_NETDB_H
 | 
					
						
							|  |  |  | #define	HAVE_DIRENT_H
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #undef	HAVE_SYS_NDIR_H
 | 
					
						
							|  |  |  | #undef	HAVE_SYS_DIR_H
 | 
					
						
							|  |  |  | #undef	HAVE_NDIR_H
 | 
					
						
							|  |  |  | #undef	HAVE_SYS_WAIT_H
 | 
					
						
							|  |  |  | #undef	HAVE_UNION_WAIT
 | 
					
						
							|  |  |  | #undef  HAVE_SYS_SELECT_H
 | 
					
						
							|  |  |  | #undef  HAVE_SYS_UTSNAME_H
 | 
					
						
							|  |  |  | #undef  HAVE_SYS_SYSTEMINFO_H
 | 
					
						
							|  |  |  | #undef  HAVE_TERMCAP_H
 | 
					
						
							|  |  |  | #undef	HAVE_SGTTY_H
 | 
					
						
							|  |  |  | #undef	HAVE_SYS_IOCTL_H
 | 
					
						
							|  |  |  | #undef	HAVE_TERMIO_H
 | 
					
						
							|  |  |  | #undef	HAVE_STROPTS_H
 | 
					
						
							|  |  |  | #undef	HAVE_SYS_STREAM_H
 | 
					
						
							|  |  |  | #undef	HAVE_SYS_PTEM_H
 | 
					
						
							|  |  |  | #undef	HAVE_TERMIOS_H
 | 
					
						
							|  |  |  | #undef	HAVE_LIBC_H
 | 
					
						
							|  |  |  | #undef	HAVE_SYS_STATFS_H
 | 
					
						
							|  |  |  | #undef	HAVE_SYS_POLL_H
 | 
					
						
							|  |  |  | #undef  HAVE_FCHDIR
 | 
					
						
							| 
									
										
										
										
											2016-11-04 20:35:31 +01:00
										 |  |  | #undef  HAVE_LSTAT
 | 
					
						
							| 
									
										
										
										
											2020-12-30 13:14:45 +01:00
										 |  |  | #undef  HAVE_STDINT_H
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Hardware specific
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #ifdef  VAX
 | 
					
						
							|  |  |  | #undef  HAVE_GETTIMEOFDAY
 | 
					
						
							|  |  |  | #undef  HAVE_USLEEP
 | 
					
						
							|  |  |  | #undef  HAVE_STRCASECMP
 | 
					
						
							|  |  |  | #undef  HAVE_STRINGS_H
 | 
					
						
							| 
									
										
										
										
											2016-11-04 20:35:31 +01:00
										 |  |  | #undef  HAVE_SIGSETJMP
 | 
					
						
							|  |  |  | #undef  HAVE_ISNAN
 | 
					
						
							| 
									
										
										
										
											2021-01-04 10:47:26 +01:00
										 |  |  | #undef  HAVE_XOS_R_H
 | 
					
						
							| 
									
										
										
										
											2019-01-17 17:13:30 +01:00
										 |  |  | #define HAVE_NO_LONG_LONG
 | 
					
						
							|  |  |  | #define VIM_SIZEOF_LONG 4
 | 
					
						
							| 
									
										
										
										
											2021-01-04 10:47:26 +01:00
										 |  |  | #define LONG_LONG_MIN  (-2147483647-1)
 | 
					
						
							|  |  |  | #define LONG_LONG_MAX  (2147483647)
 | 
					
						
							| 
									
										
										
										
											2020-12-30 13:14:45 +01:00
										 |  |  | #define ULONG_LONG_MAX (4294967295U)
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | #else // AXP and IA64
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define HAVE_GETTIMEOFDAY
 | 
					
						
							|  |  |  | #define HAVE_USLEEP
 | 
					
						
							|  |  |  | #define HAVE_STRCASECMP
 | 
					
						
							|  |  |  | #define HAVE_STRINGS_H
 | 
					
						
							| 
									
										
										
										
											2016-11-04 20:35:31 +01:00
										 |  |  | #define HAVE_SIGSETJMP
 | 
					
						
							|  |  |  | #define HAVE_ISNAN
 | 
					
						
							| 
									
										
										
										
											2021-01-04 10:47:26 +01:00
										 |  |  | #define HAVE_XOS_R_H
 | 
					
						
							| 
									
										
										
										
											2020-12-30 13:14:45 +01:00
										 |  |  | #define HAVE_NO_LONG_LONG
 | 
					
						
							| 
									
										
										
										
											2019-01-17 17:13:30 +01:00
										 |  |  | #define VIM_SIZEOF_LONG 8
 | 
					
						
							| 
									
										
										
										
											2021-01-04 10:47:26 +01:00
										 |  |  | #define LONG_LONG_MIN  (-9223372036854775807-1)
 | 
					
						
							|  |  |  | #define LONG_LONG_MAX  (9223372036854775807)
 | 
					
						
							| 
									
										
										
										
											2020-12-30 13:14:45 +01:00
										 |  |  | #define ULONG_LONG_MAX (18446744073709551615U)
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // Compiler specific
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #ifdef  VAXC
 | 
					
						
							|  |  |  | #undef  HAVE_SELECT
 | 
					
						
							|  |  |  | #undef  HAVE_FCNTL_H
 | 
					
						
							|  |  |  | #undef  HAVE_UNISTD_H
 | 
					
						
							|  |  |  | #undef  HAVE_SYS_TIME_H
 | 
					
						
							|  |  |  | #undef  HAVE_LOCALE_H
 | 
					
						
							|  |  |  | #define BROKEN_LOCALE
 | 
					
						
							|  |  |  | #undef  DYNAMIC_ICONV
 | 
					
						
							|  |  |  | #undef	HAVE_STRFTIME
 | 
					
						
							| 
									
										
										
										
											2020-12-30 13:14:45 +01:00
										 |  |  | #else   // DECC
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define HAVE_SELECT
 | 
					
						
							|  |  |  | #define HAVE_FCNTL_H
 | 
					
						
							|  |  |  | #define HAVE_UNISTD_H 1
 | 
					
						
							|  |  |  | #define HAVE_SYS_TIME_H
 | 
					
						
							|  |  |  | #define HAVE_LOCALE_H
 | 
					
						
							|  |  |  | #define BROKEN_LOCALE
 | 
					
						
							|  |  |  | #undef  DYNAMIC_ICONV
 | 
					
						
							|  |  |  | #define	HAVE_STRFTIME
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-03-12 16:51:55 +01:00
										 |  |  | #if defined(USE_ICONV)
 | 
					
						
							|  |  |  | #define HAVE_ICONV_H
 | 
					
						
							|  |  |  | #define HAVE_ICONV
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #undef HAVE_ICONV_H
 | 
					
						
							|  |  |  | #undef HAVE_ICONV
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-30 19:44:38 +01:00
										 |  |  | // GUI support defines
 | 
					
						
							| 
									
										
										
										
											2006-04-05 20:41:53 +00:00
										 |  |  | #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK)
 | 
					
						
							| 
									
										
										
										
											2020-12-30 13:14:45 +01:00
										 |  |  | #define X_INCLUDE_GRP_H             // To use getgrgid
 | 
					
						
							|  |  |  | #define XUSE_MTSAFE_API
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define HAVE_X11
 | 
					
						
							| 
									
										
										
										
											2020-12-30 13:14:45 +01:00
										 |  |  | #define WANT_X11
 | 
					
						
							| 
									
										
										
										
											2019-01-17 17:13:30 +01:00
										 |  |  | #ifdef HAVE_XPM
 | 
					
						
							|  |  |  | #define HAVE_X11_XPM_H
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #define USE_FONTSET
 | 
					
						
							|  |  |  | #undef  X_LOCALE
 | 
					
						
							|  |  |  | #endif
 |