Mercurial > emacs
view src/s/hpux9-x11r4.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 | 695cf19ef79e |
children | 375f2633d815 |
line wrap: on
line source
/* System description file for hpux version 9 using X11R4. */ #include "hpux9.h" #undef C_SWITCH_X_SYSTEM #define C_SWITCH_X_SYSTEM -I/usr/include/Motif1.1 #undef LD_SWITCH_X_DEFAULT #define LD_SWITCH_X_DEFAULT -L/usr/lib/Motif1.1 /* arch-tag: 47664d7b-23ce-43e6-acdd-044a4be08da3 (do not change this comment) */