comparison src/os_unix.h @ 7807:1a5d34492798 v7.4.1200

commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 29 23:20:40 2016 +0100 patch 7.4.1200 Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Fri, 29 Jan 2016 23:30:06 +0100
parents 1a528724f9d6
children b2aada04d84e
comparison
equal deleted inserted replaced
7806:eb2af74e899a 7807:1a5d34492798
70 * autoconf check for this. 70 * autoconf check for this.
71 * Use getcwd() anyway if getwd() isn't present. 71 * Use getcwd() anyway if getwd() isn't present.
72 */ 72 */
73 #if defined(HAVE_GETCWD) && !(defined(BAD_GETCWD) && defined(HAVE_GETWD)) 73 #if defined(HAVE_GETCWD) && !(defined(BAD_GETCWD) && defined(HAVE_GETWD))
74 # define USE_GETCWD 74 # define USE_GETCWD
75 #endif
76
77 #ifndef __ARGS
78 # define __ARGS(x) x
79 #endif 75 #endif
80 76
81 /* always use unlink() to remove files */ 77 /* always use unlink() to remove files */
82 #ifndef PROTO 78 #ifndef PROTO
83 # ifdef VMS 79 # ifdef VMS
451 447
452 #ifndef PROTO 448 #ifndef PROTO
453 # ifdef HAVE_RENAME 449 # ifdef HAVE_RENAME
454 # define mch_rename(src, dst) rename(src, dst) 450 # define mch_rename(src, dst) rename(src, dst)
455 # else 451 # else
456 int mch_rename __ARGS((const char *src, const char *dest)); 452 int mch_rename(const char *src, const char *dest);
457 # endif 453 # endif
458 # ifndef VMS 454 # ifndef VMS
459 # ifdef __MVS__ 455 # ifdef __MVS__
460 /* on OS390 Unix getenv() doesn't return a pointer to persistent 456 /* on OS390 Unix getenv() doesn't return a pointer to persistent
461 * storage -> use __getenv() */ 457 * storage -> use __getenv() */