~ubuntu-branches/ubuntu/oneiric/pulseaudio/oneiric

« back to all changes in this revision

Viewing changes to src/pulsecore/gccmacro.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-12-04 00:56:08 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071204005608-y1xqvcu45g1yxtlu
Tags: 0.9.8-1ubuntu1
"Hail our new PulseAudio overlords (part two)."

* Merge from Debian unstable.
* Ubuntu-specific changes:
  - debian/control:
    + Don't build-depend on libjack0.100.0-dev or build jack module
      packages,
    + Update pulseaudio's Recommends and Suggests to accomodate
      existing promoted main packages,
    + Explicitly mention pasuspender in pulseaudio-utils's long
      description,
    + Add Vcs-Bzr URI,
    + Adhere to DebianMaintainerField;
  - debian/rules: Use multiuser for update-rc.d;
  - debian/patches/series: Retain the exclusion of
    0001-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with.patch.
* Dropped Ubuntu-specific change (absorbed into Debian source):
  debian/patches/0002-Double-esound-maximum-sample-size.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef foopulsegccmacrohfoo
2
2
#define foopulsegccmacrohfoo
3
3
 
4
 
/* $Id: gccmacro.h 1971 2007-10-28 19:13:50Z lennart $ */
 
4
/* $Id: gccmacro.h 2036 2007-11-09 02:12:09Z lennart $ */
5
5
 
6
6
/***
7
7
  This file is part of PulseAudio.
60
60
#endif
61
61
 
62
62
#ifndef PA_GCC_PURE
63
 
#ifdef __GNUCC__
 
63
#ifdef __GNUC__
64
64
#define PA_GCC_PURE __attribute__ ((pure))
65
65
#else
66
66
/** This function's return value depends only the arguments list and global state **/
69
69
#endif
70
70
 
71
71
#ifndef PA_GCC_CONST
72
 
#ifdef __GNUCC__
 
72
#ifdef __GNUC__
73
73
#define PA_GCC_CONST __attribute__ ((const))
74
74
#else
75
75
/** This function's return value depends only the arguments list (stricter version of PA_GCC_PURE) **/
77
77
#endif
78
78
#endif
79
79
 
 
80
#ifndef PA_LIKELY
 
81
#ifdef __GNUC__
 
82
#define PA_LIKELY(x) (__builtin_expect((x),1))
 
83
#define PA_UNLIKELY(x) (__builtin_expect((x),0))
 
84
#else
 
85
#define PA_LIKELY(x) (x)
 
86
#define PA_UNLIKELY(x) (x)
 
87
#endif
 
88
#endif
 
89
 
80
90
#endif