summaryrefslogtreecommitdiff
path: root/test/rain.c
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2021-10-20 23:22:45 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2021-10-20 23:22:45 +0000
commit332fa27640b1901ac632e6d37a4aa9643d0f8594 (patch)
treebfb5303e24d1cd4ddd22df12f45a013fefb9ca23 /test/rain.c
parentff448436b2b70771d09b8d5ff34a509dcf02f81b (diff)
downloadncurses-332fa27640b1901ac632e6d37a4aa9643d0f8594.tar.gz
Diffstat (limited to 'test/rain.c')
-rw-r--r--test/rain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rain.c b/test/rain.c
index 14a536b..4c3568c 100644
--- a/test/rain.c
+++ b/test/rain.c
@@ -27,7 +27,7 @@
* authorization. *
****************************************************************************/
/*
- * $Id: rain.c,v 1.51 2020/02/02 23:34:34 tom Exp $
+ * $Id: rain.c,v 1.52 2020/08/29 16:22:03 juergen Exp $
*/
#include <test.priv.h>
#include <popup_msg.h>
@@ -228,7 +228,7 @@ draw_drop(void *arg)
* Find myself in the list of threads so we can count the number of loops.
*/
for (mystats = 0; mystats < MAX_THREADS; ++mystats) {
-#if defined(_WIN32) && !defined(__WINPTHREADS_VERSION)
+#if defined(_NC_WINDOWS) && !defined(__WINPTHREADS_VERSION)
if (drop_threads[mystats].myself.p == pthread_self().p)
#else
if (drop_threads[mystats].myself == pthread_self())