--- mecab-0.996/src/thread.h.orig	2012-10-28 05:07:26.000000000 +0100
+++ mecab-0.996/src/thread.h	2023-11-25 15:14:54.702179400 +0100
@@ -35,7 +35,7 @@
 #define MECAB_USE_THREAD 1
 #define BEGINTHREAD(src, stack, func, arg, flag, id)                    \
   (HANDLE)_beginthreadex((void *)(src), (unsigned)(stack),              \
-                         (unsigned(_stdcall *)(void *))(func), (void *)(arg), \
+                         (unsigned(__stdcall *)(void *))(func), (void *)(arg), \
                          (unsigned)(flag), (unsigned *)(id))
 #endif
 
