~ubuntu-branches/ubuntu/vivid/gstreamer-vaapi/vivid

« back to all changes in this revision

Viewing changes to gst-libs/gst/vaapi/glibcompat.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-08-06 23:56:00 UTC
  • mfrom: (0.1.4 sid) (1.1.3)
  • Revision ID: package-import@ubuntu.com-20140806235600-fg1kcmiu67k315q5
Tags: 0.5.9-2
* Remove spurious build-deps: libva-drm1, libavcodec-dev. (Closes: #757283)
* Drop Build-Depends-Indep and build docs unconditionally on all archs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  glibcompat.h - System-dependent definitions
3
3
 *
4
 
 *  Copyright (C) 2012-2013 Intel Corporation
 
4
 *  Copyright (C) 2012-2014 Intel Corporation
5
5
 *    Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
6
6
 *
7
7
 *  This library is free software; you can redistribute it and/or
134
134
#define g_cond_signal(cond)             g_compat_cond_signal(cond)
135
135
#undef  g_cond_wait
136
136
#define g_cond_wait(cond, mutex)        g_compat_cond_wait(cond, mutex)
 
137
 
 
138
#undef  g_thread_try_new
 
139
#define g_thread_try_new(name, func, data, error) \
 
140
    g_compat_thread_try_new(name, func, data, error)
 
141
 
 
142
static inline GThread *
 
143
g_compat_thread_try_new(const gchar *name, GThreadFunc func, gpointer data,
 
144
    GError **error)
 
145
{
 
146
    return g_thread_create(func, data, TRUE, error);
 
147
}
137
148
#endif
138
149
 
139
150
#if !GLIB_CHECK_VERSION(2,31,18)