Commit e9360e6f authored by Lev Walkin's avatar Lev Walkin

fix ilogb error on ubuntu

parent 2a744a74
/*- /*-
* Copyright (c) 2004, 2006 Lev Walkin <vlm@lionet.info>. All rights reserved. * Copyright (c) 2004-2013 Lev Walkin <vlm@lionet.info>. All rights reserved.
* Redistribution and modifications are permitted subject to BSD license. * Redistribution and modifications are permitted subject to BSD license.
*/ */
#define _ISOC99_SOURCE /* For ilogb() and quiet NAN */
#if defined(__alpha) #if defined(__alpha)
#define _ISOC99_SOURCE /* For quiet NAN, through bits/nan.h */
#define _BSD_SOURCE /* To reintroduce finite(3) */ #define _BSD_SOURCE /* To reintroduce finite(3) */
#include <sys/resource.h> /* For INFINITY */ #include <sys/resource.h> /* For INFINITY */
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment