Commit 0fa0c915 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Hard-code another compiler built-in

The Pi constant is not very useful, we won't be doing floating point
geometry.
parent b878415e
......@@ -24,6 +24,11 @@
#include "xalloc.h"
#include <assert.h>
#ifdef __FRAMAC__
#undef M_PI
#define M_PI 3.14
#endif /* __FRAMAC__ */
size_t
tarot_layout_position (double view_w, double view_h, double card_w,
double card_h, size_t n_my_cards, size_t n_adversaries,
......
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