aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-08-29 20:25:37 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-08-29 20:25:37 +0200
commit4d1d94c56cf60e22e9199f8c37c5634752b570f5 (patch)
treefff3e36bee446458372cbed586c8e65dd94b6c94 /src/util.h
parent61d85071405b99c3734606eed31ea8f615c0c77a (diff)
Rename CreateThread to NewThread
Prevent clash with win32 API symbol
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index fffa60216d..65923e68a3 100644
--- a/src/util.h
+++ b/src/util.h
@@ -539,7 +539,7 @@ public:
}
};
-bool CreateThread(void(*pfn)(void*), void* parg);
+bool NewThread(void(*pfn)(void*), void* parg);
#ifdef WIN32
inline void SetThreadPriority(int nPriority)