view src/s/vms5-5.h @ 79232:7970215aa6e5

Add a wrapper for getenv so it also checks the registry on Windows. Suggestion and algorithm by Eli Zaretskii. Code partially based on w32_get_resource and init_environment (w32.c). (xmalloc): New function by Kroly Lrentey (backported from the trunk). (quote_file_name): Use it. (egetenv): New wrapper for getenv. (get_current_dir_name, decode_options, get_server_config, set_local_socket, set_socket, main): Use egetenv, not getenv. (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 26 Oct 2007 15:39:06 +0000
parents 553704b5e15e
children 29e773288013
line wrap: on
line source

#include "vms.h"
#define VMS5_5
#define VMS4_4

#undef NO_HYPHENS_IN_FILENAMES

/* The bug that SHARABLE_LIB_BUG fixes is gone in version 5.5 of VMS.
   And defining it causes lossage because sys_errlist has a different
   number of elements.  */
#undef SHARABLE_LIB_BUG

/* arch-tag: 92acc416-61fe-44ae-b0e0-710cb9e38ec6
   (do not change this comment) */