diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-02 09:41:39 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-02 09:41:39 +0000 |
commit | 001e00ba23962648cf0f8bfa1e1c50685ba6a15d (patch) | |
tree | b11fa12443541ccb218871e42863b7628af59e81 /include/users.h | |
parent | 270f1f8d19779a20231a4228286da5e5bf8b2be9 (diff) |
Made threading optional
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2108 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h index 388977359..0e5937667 100644 --- a/include/users.h +++ b/include/users.h @@ -19,7 +19,9 @@ #include "inspstring.h" #include "connection.h" #include <string> +#ifdef THREADED_DNS #include <pthread.h> +#endif #ifndef __USERS_H__ #define __USERS_H__ @@ -320,7 +322,9 @@ class userrec : public connection virtual ~userrec(); +#ifdef THREADED_DNS pthread_t dnsthread; +#endif }; /** A lightweight userrec used by WHOWAS |