Returns now GNUNET_SYSERR
[oweals/gnunet.git] / src / util / os_priority.c
index 870ce28eab46291be5fa4b8f80d476134c0d1b07..fb6c2922c6e91eba4409c0267b017c84c430902e 100644 (file)
@@ -129,11 +129,16 @@ GNUNET_OS_process_close (struct GNUNET_OS_Process *proc)
 
 extern GNUNET_SIGNAL_Handler w32_sigchld_handler;
 
+/**
+ * Make seaspider happy.
+ */
+#define DWORD_WINAPI DWORD WINAPI
+
 /**
  * @brief Waits for a process to terminate and invokes the SIGCHLD handler
  * @param proc pointer to process structure
  */
-static DWORD WINAPI
+static DWORD_WINAPI
 ChildWaitThread (void *arg)
 {
   struct GNUNET_OS_Process *proc = (struct GNUNET_OS_Process *) arg;