diff options
| author | Cracker64 <cracker642@gmail.com> | 2011-01-29 02:57:20 (GMT) |
|---|---|---|
| committer | Cracker64 <cracker642@gmail.com> | 2011-01-29 02:57:20 (GMT) |
| commit | 4b5337c03a0a64a12e1d66829c14af73f1ff0398 (patch) | |
| tree | 5663f738bdf7b8d0e924db6acb8e010d0174f1c3 /includes | |
| parent | 01304db892324f5d0dafb50e03150707bffef13a (diff) | |
| download | powder-4b5337c03a0a64a12e1d66829c14af73f1ff0398.zip powder-4b5337c03a0a64a12e1d66829c14af73f1ff0398.tar.gz | |
finally fixed visual studio compiling, yay
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/element.h | 1 | ||||
| -rw-r--r-- | includes/powder.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/includes/element.h b/includes/element.h index ec32df2..be0388d 100644 --- a/includes/element.h +++ b/includes/element.h @@ -4,5 +4,6 @@ #include "powder.h" #include "misc.h" +#include "math.h" #endif diff --git a/includes/powder.h b/includes/powder.h index 9991317..251605b 100644 --- a/includes/powder.h +++ b/includes/powder.h @@ -837,9 +837,9 @@ extern inline int is_wire_off(int x, int y); void set_emap(int x, int y); #if defined(WIN32) && !defined(__GNUC__) -_inline int parts_avg(int ci, int ni, int t); +extern _inline int parts_avg(int ci, int ni, int t); #else -int parts_avg(int ci, int ni, int t); +extern int parts_avg(int ci, int ni, int t); #endif int nearest_part(int ci, int t); |
