diff options
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h new file mode 100644 index 0000000..d2096f8 --- /dev/null +++ b/src/compat.h @@ -0,0 +1,8 @@ +#ifndef COMPAT_H +#define COMPAT_H + +#if !GLIB_CHECK_VERSION(2, 32, 0) +#define g_thread_new(name, func, data) g_thread_create(func, data, TRUE, NULL) +#endif + +#endif |