~ubuntu-branches/ubuntu/oneiric/libffi/oneiric

« back to all changes in this revision

Viewing changes to include/ffi_common.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-04-18 20:53:34 UTC
  • mfrom: (1.1.5 upstream) (15.2.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110418205334-odjww9ndylq3cchl
Tags: 3.0.10~rc8-1
* New upstream version (release candidate 8).
  - Adds VFP hard-float calling convention support. Closes: #597920.
* Install to the multiarch triplet directories, not the gnu triplet
  directories (Steve Langasek). Closes: #622976.
* Bump soversion, update symbols files.
* Update debian/copyright file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -----------------------------------------------------------------------
2
 
   ffi_common.h - Copyright (c) 1996  Red Hat, Inc.
3
 
   Copyright (C) 2007 Free Software Foundation, Inc
4
 
 
 
2
   ffi_common.h - Copyright (C) 2011  Anthony Green
 
3
                  Copyright (C) 2007  Free Software Foundation, Inc
 
4
                  Copyright (c) 1996  Red Hat, Inc.
 
5
                  
5
6
   Common internal definitions and macros. Only necessary for building
6
7
   libffi.
7
8
   ----------------------------------------------------------------------- */
112
113
 
113
114
typedef float FLOAT32;
114
115
 
 
116
#ifndef __GNUC__
 
117
#define __builtin_expect(x, expected_value) (x)
 
118
#endif
 
119
#define LIKELY(x)    __builtin_expect((x),1)
 
120
#define UNLIKELY(x)  __builtin_expect((x),1)
115
121
 
116
122
#ifdef __cplusplus
117
123
}
118
124
#endif
119
125
 
120
126
#endif
121
 
 
122