Skip to content
Snippets Groups Projects
Commit e9360e6f authored by Lev Walkin's avatar Lev Walkin
Browse files

fix ilogb error on ubuntu

parent 2a744a74
No related branches found
No related tags found
No related merge requests found
/*-
* 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.
*/
#define _ISOC99_SOURCE /* For ilogb() and quiet NAN */
#if defined(__alpha)
#define _ISOC99_SOURCE /* For quiet NAN, through bits/nan.h */
#define _BSD_SOURCE /* To reintroduce finite(3) */
#include <sys/resource.h> /* For INFINITY */
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment