mirror of
https://github.com/curl/curl.git
synced 2026-07-25 02:37:18 +03:00
VMS specific preprocessor symbol checking adjustments
This commit is contained in:
parent
0dde9056d7
commit
3184a91ec8
27 changed files with 47 additions and 47 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
#include "memdebug.h"
|
||||
#endif
|
||||
|
||||
#ifdef VMS
|
||||
#ifdef __VMS
|
||||
/* VMS implementation */
|
||||
#include descrip
|
||||
#include starlet
|
||||
|
|
@ -93,7 +93,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
|||
return buffer; /* we always return success */
|
||||
}
|
||||
#define DONE
|
||||
#endif /* VMS */
|
||||
#endif /* __VMS */
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef VMS
|
||||
#ifdef __VMS
|
||||
#include <unixlib.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ char *GetEnv(const char *variable, char do_expand)
|
|||
}
|
||||
#else
|
||||
(void)do_expand;
|
||||
#ifdef VMS
|
||||
#ifdef __VMS
|
||||
env = getenv(variable);
|
||||
if (env && strcmp("HOME",variable) == 0) {
|
||||
env = decc_translate_vms(env);
|
||||
|
|
@ -99,7 +99,7 @@ char *homedir(void)
|
|||
struct passwd *pw = getpwuid(geteuid());
|
||||
|
||||
if (pw) {
|
||||
#ifdef VMS
|
||||
#ifdef __VMS
|
||||
home = decc_translate_vms(pw->pw_dir);
|
||||
#else
|
||||
home = pw->pw_dir;
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@ typedef enum {
|
|||
*/
|
||||
|
||||
#ifndef SIZEOF_OFF_T
|
||||
# if defined(__VMS) && (defined(__alpha) || defined(__ia64))
|
||||
# if defined(__VMS) && !defined(__VAX)
|
||||
# if defined(_LARGEFILE)
|
||||
# define SIZEOF_OFF_T 8
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue