summaryrefslogtreecommitdiff
path: root/w32/subproc/sub_proc.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-11-15 21:12:53 +0000
committerPaul Smith <psmith@gnu.org>2011-11-15 21:12:53 +0000
commitdc2a6ceb81730c25c0beec1f13994b9710767ee1 (patch)
treed8ffe41c5bb5af3a5544af0a8a0bdfc36eb2fd01 /w32/subproc/sub_proc.c
parent4f47fbf953faae5d38bdc4e709aa8872e3914418 (diff)
downloadgunmake-dc2a6ceb81730c25c0beec1f13994b9710767ee1.tar.gz
Enable jobserver on W32 when using configure.
Some W32 cleanups: see Savannah bug #34830 Forgot to modify the config.h.W32.template file for jobserver support.
Diffstat (limited to 'w32/subproc/sub_proc.c')
-rw-r--r--w32/subproc/sub_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/w32/subproc/sub_proc.c b/w32/subproc/sub_proc.c
index 64185b3..b4dddbe 100644
--- a/w32/subproc/sub_proc.c
+++ b/w32/subproc/sub_proc.c
@@ -63,7 +63,7 @@ static char jobserver_semaphore_name[MAX_PATH + 1];
static HANDLE jobserver_semaphore = NULL;
/* Open existing jobserver semaphore */
-int open_jobserver_semaphore(char* name)
+int open_jobserver_semaphore(const char* name)
{
jobserver_semaphore = OpenSemaphore(
SEMAPHORE_ALL_ACCESS, // Semaphore access setting