[Bug 743795] gtask: add thread name support on OS X and iOS

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Feb 1 11:55:19 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=743795
  GStreamer | gstreamer (core) | git master

--- Comment #6 from Ilya Konstantinov <ilya.konstantinov at gmail.com> 2015-02-01 19:55:18 UTC ---
#if UNDEFINED_MACRO triggers an error?

Anyway, #if defined (_MSC_VER) is detecting the wrong thing. It's detecting
Microsoft C++ compiler. It usually corresponds to Win32 platform, but you
obviously understand why it's the wrong define to look at.

To be fully correct, change this to #if defined(_WIN32). Change the other
#ifdef _MSC_VER in the file -- where SetThreadName is implemented -- to #if
defined(_WIN32) as well.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list