Commit 601cdc93 authored by Casper Hornstrup's avatar Casper Hornstrup Committed by Alexandre Julliard

Define constants of M_PI & M_PI_2.

parent 2f34e74e
......@@ -27,6 +27,7 @@
#define _GNU_SOURCE /* for pread/pwrite */
#include <fcntl.h>
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_DIRECT_H
......@@ -116,6 +117,20 @@ struct statfs;
# define O_LARGEFILE 0
#endif
/****************************************************************
* Constants
*/
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#ifndef M_PI_2
#define M_PI_2 1.570796326794896619
#endif
/* Macros to define assembler functions somewhat portably */
#ifdef __GNUC__
......
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