diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-04-25 07:50:43 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:16:26 +0300 |
commit | 5a615584b901666a8ec7cda66137bbac2830d207 (patch) | |
tree | 4fa802302198faaded9231cb472b516a8ced4f98 /geometry | |
parent | 47bbc46b9fc6a7f13f77f09c8c0a5437fbad1fce (diff) |
[mingw] Fixed build errors (stdlib.h doesn't have random() function defined)
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/robust_orientation.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/geometry/robust_orientation.cpp b/geometry/robust_orientation.cpp index dc806ec1ce..3bfa4b2a9c 100644 --- a/geometry/robust_orientation.cpp +++ b/geometry/robust_orientation.cpp @@ -2,7 +2,10 @@ #include "robust_orientation.hpp" -#include "../3party/robust/predicates.c" +extern "C" +{ + #include "../3party/robust/predicates.c" +} #include "../base/start_mem_debug.hpp" |