]> pd.if.org Git - pdclib.old/blobdiff - opt/nothread/mtx_destroy.c
[dlmalloc] correct definition of MMAP
[pdclib.old] / opt / nothread / mtx_destroy.c
index 75baec274ddce20c2c4a15b1d142a85a6e31086d..8f359c8427f3c8c2b90259c8f6d7e2dfe84af126 100644 (file)
@@ -1,7 +1,9 @@
+#ifndef REGTEST\r
 #include <threads.h>\r
 \r
 void mtx_destroy(mtx_t *mtx)\r
 {}\r
+#endif\r
 \r
 #ifdef TEST\r
 #include <_PDCLIB_test.h>\r
@@ -11,4 +13,4 @@ int main( void )
     return TEST_RESULTS;\r
 }\r
 \r
-#endif
\ No newline at end of file
+#endif\r