mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 09:41:15 +00:00
Deal with systems which don't dfefine pi in the normal place
This commit is contained in:
parent
a66d25598e
commit
1db5b071ee
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
|
#ifndef M_PI
|
||||||
|
#define M_PI 3.14159265358979323846264338327950288
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(LLONG_MAX)
|
#if !defined(LLONG_MAX)
|
||||||
# if defined(__LONG_LONG_MAX__)
|
# if defined(__LONG_LONG_MAX__)
|
||||||
# define LLONG_MAX __LONG_LONG_MAX__
|
# define LLONG_MAX __LONG_LONG_MAX__
|
||||||
|
|
Loading…
Reference in a new issue