Revision 7d3505c5 target-i386/exec.h

b/target-i386/exec.h
17 17
 * License along with this library; if not, write to the Free Software
18 18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 19
 */
20
#include "config.h"
20 21
#include "dyngen-exec.h"
21 22

  
22 23
/* at least 4 register variables are defines */
......
307 308
#define rint rintl
308 309
#endif
309 310

  
311
#if !defined(_BSD)
310 312
extern int lrint(CPU86_LDouble x);
311 313
extern int64_t llrint(CPU86_LDouble x);
314
#else
315
#define lrint(d)		((int)rint(d))
316
#define llrint(d)		((int)rint(d))
317
#endif
312 318
extern CPU86_LDouble fabs(CPU86_LDouble x);
313 319
extern CPU86_LDouble sin(CPU86_LDouble x);
314 320
extern CPU86_LDouble cos(CPU86_LDouble x);

Also available in: Unified diff