diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-01-29 14:36:11 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-01-29 14:36:11 +0200 |
commit | f915f0f7c8a35ecc5ca95e99f5bf4286aafa3d05 (patch) | |
tree | 164a36f43c2ba41f70fb6f8aad8341bfdedab59c /lib-src/ntlib.h | |
parent | 497a1925ecc0550630ba44f29d2db7378e7c9e4e (diff) | |
download | emacs-f915f0f7c8a35ecc5ca95e99f5bf4286aafa3d05.tar.gz |
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
Diffstat (limited to 'lib-src/ntlib.h')
-rw-r--r-- | lib-src/ntlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h index d328913d71d..be8d2a58a50 100644 --- a/lib-src/ntlib.h +++ b/lib-src/ntlib.h @@ -38,7 +38,7 @@ unsigned getuid (void); unsigned getegid (void); unsigned getgid (void); int setuid (unsigned uid); -int setegid (unsigned gid); +int setregid (unsigned rgid, unsigned gid); char * getpass (const char * prompt); int fchown (int fd, unsigned uid, unsigned gid); |