summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-04-14 12:42:22 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-05-23 14:13:51 +0200
commite6d245a3e80c0e0c05476e5bd9c45a77e16fecec (patch)
tree490b8e34f3bd0f9b85959782a1760e2c7e55fcea /include
parentb512f1b9667ca0479d42e771082f3bc8d92c63a2 (diff)
Replace the configure templating system with something better.
A large amount of this code can be removed when buildtool is done as we will not need to worry about the differences between BSD and GNU Make.
Diffstat (limited to 'include')
-rw-r--r--include/compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/compat.h b/include/compat.h
index fa75cd754..9302c573f 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -106,9 +106,11 @@
*/
#if defined _WIN32
# include "inspircd_win32wrapper.h"
+# include "threadengines/threadengine_win32.h"
#else
-# include <unistd.h>
# define ENTRYPOINT int main(int argc, char** argv)
# define DllExport __attribute__ ((visibility ("default")))
# define CoreExport __attribute__ ((visibility ("default")))
+# include <unistd.h>
+# include "threadengines/threadengine_pthread.h"
#endif