X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fwin32%2Ffunctions%2Fthreads%2Fmtx_destroy.c;h=2f8a6c308a8be05f4aec0174ddb1f16edda5259f;hp=7a50a10982fe4fb23637d880e198c009f089523a;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=c454b5c6ac2e92d8963b96b3e508a13026c58c45 diff --git a/platform/win32/functions/threads/mtx_destroy.c b/platform/win32/functions/threads/mtx_destroy.c index 7a50a10..2f8a6c3 100644 --- a/platform/win32/functions/threads/mtx_destroy.c +++ b/platform/win32/functions/threads/mtx_destroy.c @@ -1,19 +1,19 @@ -#ifndef REGTEST -#include -#include - -void mtx_destroy(mtx_t *mtx) -{ - CloseHandle(mtx->_WaitEvHandle); -} -#endif - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - return TEST_RESULTS; -} - +#ifndef REGTEST +#include +#include + +void mtx_destroy(mtx_t *mtx) +{ + CloseHandle(mtx->_WaitEvHandle); +} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main( void ) +{ + return TEST_RESULTS; +} + #endif \ No newline at end of file