dav/sync.h

changeset 789
378b5ab86f77
parent 780
cd1c869720e0
--- a/dav/sync.h	Tue Sep 12 21:07:54 2023 +0200
+++ b/dav/sync.h	Thu Sep 14 18:11:50 2023 +0200
@@ -34,8 +34,6 @@
 #include <cx/list.h>
 #include <cx/hash_map.h>
 
-#include <pthread.h>
-
 #include "scfg.h"
 #include "config.h"
 #include "sopt.h"
@@ -96,8 +94,14 @@
 
 void print_usage(char *cmd);
 
+#ifndef _WIN32
 pthread_t start_sighandler(pthread_mutex_t *mutex) ;
 void stop_sighandler(pthread_mutex_t *mutex, pthread_t tid);
+#else
+// TODO: just dummies at the moment
+int start_sighandler(int* mutex);
+int stop_sighandler(int* mutex, int tid);
+#endif
 
 void res2map(DavResource *root, CxMap *map);
 

mercurial