]> pd.if.org Git - pdclib/blobdiff - platform/win32/functions/threads/tss_set.c
dos2unix
[pdclib] / platform / win32 / functions / threads / tss_set.c
index 5ed15cea51ef6add8c9e78905f3a904fd198616d..f81d274ef00b62939de68ddc76815e9f534dda52 100644 (file)
@@ -1,22 +1,22 @@
-#ifndef REGTEST\r
-#include <threads.h>\r
-#include <windows.h>\r
-\r
-int tss_set(tss_t key, void *val)\r
-{\r
-    if(TlsSetValue(key->_Key, val))\r
-        return thrd_success;\r
-    return thrd_error;\r
-}\r
-#endif\r
-\r
-#ifdef TEST\r
-#include "_PDCLIB_test.h"\r
-\r
-/* Tested in tss_get.c */\r
-int main( void )\r
-{\r
-    return TEST_RESULTS;\r
-}\r
-\r
+#ifndef REGTEST
+#include <threads.h>
+#include <windows.h>
+
+int tss_set(tss_t key, void *val)
+{
+    if(TlsSetValue(key->_Key, val))
+        return thrd_success;
+    return thrd_error;
+}
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+/* Tested in tss_get.c */
+int main( void )
+{
+    return TEST_RESULTS;
+}
+
 #endif
\ No newline at end of file