diff --git a/src/common.h b/src/common.h index 300b83f..fe6a6d5 100644 --- a/src/common.h +++ b/src/common.h @@ -33,7 +33,7 @@ # include # include -#endif +#endif TM_INLINE double diff --git a/src/win/thread.c b/src/win/thread.c index 9b9b97a..2bef71c 100644 --- a/src/win/thread.c +++ b/src/win/thread.c @@ -38,7 +38,6 @@ thread_new(void (*func)(void *), void *obj) { tm_thread *th; tm_thread_entry *entry; - alc = tm_get_allocator(); th = alc->calloc(1, sizeof(*th)); entry = calloc(1, sizeof(*entry)); diff --git a/win/tm.vcxproj b/win/tm.vcxproj index c800fb4..21dbf18 100644 --- a/win/tm.vcxproj +++ b/win/tm.vcxproj @@ -97,15 +97,15 @@ true - true + true true - true + true false - true + true false @@ -169,7 +169,7 @@ true true false - NDEBUG;TML_EXPORTS;_WINDOWS;_USRDLL;LIBTM_DLL;%(PreprocessorDefinitions) + NDEBUG;TML_EXPORTS;TM_EXPORTS;_WINDOWS;_USRDLL;LIBTM_DLL;%(PreprocessorDefinitions) true true CompileAsC