[gstreamer-bugs] [Bug 632557] [macros] Define restrict keyword if not available

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 19 06:54:14 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=632557
  GStreamer | gstreamer (core) | unspecified

--- Comment #1 from Sebastian Dröge <slomo at circular-chaos.org> 2010-10-19 13:54:11 UTC ---
Created an attachment (id=172723)
 View: https://bugzilla.gnome.org/attachment.cgi?id=172723
 Review: https://bugzilla.gnome.org/review?bug=632557&attachment=172723

macros: Define restrict keyword if not available

This change always defines the restrict keyword if a
non-C99 C compiler is used. In the case of GCC >= 4
it will be defined to __restrict__, in all other
cases to nothing. This allows to use the restrict
keyword unconditionally.

-- 
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