event/ServerSocket: runtime error if abstract sockets are unavailable

This commit is contained in:
Max Kellermann
2019-03-20 13:09:16 +01:00
parent 8fc3c5c612
commit a854595886
3 changed files with 5 additions and 9 deletions

View File

@@ -99,7 +99,6 @@ public:
*/
void AddPath(AllocatedPath &&path);
#ifdef __linux__
/**
* Add a listener on an abstract local socket (Linux specific).
*
@@ -109,7 +108,6 @@ public:
* instead of a null byte
*/
void AddAbstract(const char *name);
#endif
/**
* Add a socket descriptor that is accepting connections. After this