]> git.meshlink.io Git - meshlink/blobdiff - src/system.h
Don't use assert() to check the results of pthread_*() calls.
[meshlink] / src / system.h
index 2c09551530e871d1127235c15769c547c9046303..a31ba7a345d291d4f75ba2c513b73b2559472689 100644 (file)
 
 #include "have.h"
 
-#ifndef HAVE_STDBOOL_H
-typedef int bool;
-#define true 1
-#define false 0
-#endif
-
 #ifndef HAVE_STRSIGNAL
 # define strsignal(p) ""
 #endif
@@ -38,8 +32,4 @@ typedef int bool;
 
 #include "dropin.h"
 
-#ifndef HAVE_SOCKLEN_T
-typedef int socklen_t;
-#endif
-
 #endif