From 6e6b01d5d308a9bbb5d73cd9272d8736039d83a2 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Wed, 29 Aug 2007 13:34:54 +0200 Subject: [PATCH] Add a primitive implementation for getppid(). --- git-compat-util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/git-compat-util.h b/git-compat-util.h index 22a53d3668..1ba499f750 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -483,6 +483,7 @@ int mingw_rename(const char*, const char*); #define setlinebuf(x) #define fsync(x) 0 +#define getppid() 1 extern void quote_argv(const char **dst, const char **src); extern const char *parse_interpreter(const char *cmd);