[MOAB-dev] r3124 - MOAB/trunk/tools/dagmc
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Wed Sep 2 14:44:46 CDT 2009
Author: kraftche
Date: 2009-09-02 14:44:46 -0500 (Wed, 02 Sep 2009)
New Revision: 3124
Modified:
MOAB/trunk/tools/dagmc/DagMC.cpp
Log:
fix windows build issue
Modified: MOAB/trunk/tools/dagmc/DagMC.cpp
===================================================================
--- MOAB/trunk/tools/dagmc/DagMC.cpp 2009-08-31 19:25:49 UTC (rev 3123)
+++ MOAB/trunk/tools/dagmc/DagMC.cpp 2009-09-02 19:44:46 UTC (rev 3124)
@@ -29,6 +29,11 @@
#include <stdlib.h>
#include <stdio.h>
+#include <math.h>
+#ifndef M_PI /* windows */
+# define M_PI 3.14159265358979323846
+#endif
+
#define MB_OBB_TREE_TAG_NAME "OBB_TREE"
#define CATEGORY_TAG_LENGTH 32
More information about the moab-dev
mailing list