X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/384152a6b0cce686255894a502e4b88743abd356..e162fc9757d4b8cb41aca74214e968622d6c3dee:/src/OS/os.h-cygwin diff --git a/src/OS/os.h-cygwin b/src/OS/os.h-cygwin index 591f0965e..07c14d04d 100644 --- a/src/OS/os.h-cygwin +++ b/src/OS/os.h-cygwin @@ -1,5 +1,3 @@ -/* $Cambridge: exim/src/OS/os.h-cygwin,v 1.2 2005/05/24 08:15:01 tom Exp $ */ - /* Exim: OS-specific C header file for Cygwin */ /* This code was supplied by Pierre A. Humblet */ @@ -7,9 +5,9 @@ /* Define the OS_INIT macro that we insert in exim.c:main() to set the root and exim uid depending on the system */ /* We use a special routine to initialize */ -void cygwin_init(int, char **, void *, void *, void *, void *); +void cygwin_init(int, char **, void *, void *, void *, void *, void *); #define OS_INIT\ - cygwin_init(argc, (char **) argv, &root_uid, &exim_uid, &exim_gid, &config_uid); + cygwin_init(argc, (char **) argv, &root_uid, &exim_uid, &exim_gid, &config_uid, &config_gid); /* We need a special mkdir that allows names starting with // */ @@ -27,7 +25,7 @@ int cygwin_setgid(gid_t gid ); extern unsigned int cygwin_WinVersion; #define BASE_62 36 /* Windows aliases lower and upper cases in filenames. - Consider reducing MAX_LOCALHOST_NUMBER */ + Consider reducing MAX_LOCALHOST_NUMBER */ #define CRYPT_H #define HAVE_MMAP #define HAVE_SYS_VFS_H @@ -50,4 +48,7 @@ struct { \ DWORD SubAuthority[n]; \ } name = { SID_REVISION, n, {SECURITY_NT_AUTHORITY}, {sid}} +/* default is non-const */ +#define ICONV_ARG2_TYPE const char ** + /* End */