src/w32proc.c (getpgrp, setpgid): New functions.
nt/inc/unistd.h (setpgid, getpgrp): Provide prototypes.
nt/config.nt (GETPGRP_VOID): Define to 1.
+2012-11-01 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/unistd.h (setpgid, getpgrp): Provide prototypes. (Bug#12776)
+
+ * config.nt (GETPGRP_VOID): Define to 1.
+
2012-10-24 Juanma Barranquero <lekktu@gmail.com>
* config.nt: Sync with autogen/config.in.
#define GC_SETJMP_WORKS 1
/* Define to 1 if the `getpgrp' function requires zero arguments. */
-#undef GETPGRP_VOID
+#define GETPGRP_VOID 1
/* Define if gettimeofday clobbers the localtime buffer. */
#undef GETTIMEOFDAY_CLOBBERS_LOCALTIME
extern ssize_t readlink (const char *, char *, size_t);
extern int symlink (char const *, char const *);
+extern int setpgid (pid_t, pid_t);
+extern pid_t getpgrp (void);
#endif /* _UNISTD_H */
+2012-11-01 Eli Zaretskii <eliz@gnu.org>
+
+ * w32proc.c (getpgrp, setpgid): New functions. (Bug#12776)
+
2012-10-31 Paul Eggert <eggert@cs.ucla.edu>
Fix crash when using Emacs as commit editor for git (Bug#12697).
return 0;
}
+pid_t
+getpgrp (void)
+{
+ return getpid ();
+}
+
+int
+setpgid (pid_t pid, pid_t pgid)
+{
+ return 0;
+}
+
/* Emulations of interval timers.
Limitations: only ITIMER_REAL and ITIMER_PROF are supported.