Visual Studio and MinGW comapatbility

This commit is contained in:
Simon
2010-11-06 17:42:22 +00:00
parent c5df30d90b
commit 43cbb294ef
6 changed files with 22 additions and 22 deletions

View File

@@ -391,25 +391,25 @@ int try_move(int i, int x, int y, int nx, int ny);
void kill_part(int i);
#ifdef WIN32
#if defined(WIN32) && !defined(__GNUC__)
extern _inline int create_part(int p, int x, int y, int t);
#else
extern inline int create_part(int p, int x, int y, int t);
#endif
#ifdef WIN32
#if defined(WIN32) && !defined(__GNUC__)
extern _inline void delete_part(int x, int y);
#else
extern inline void delete_part(int x, int y);
#endif
#ifdef WIN32
#if defined(WIN32) && !defined(__GNUC__)
extern _inline int is_wire(int x, int y);
#else
extern inline int is_wire(int x, int y);
#endif
#ifdef WIN32
#if defined(WIN32) && !defined(__GNUC__)
extern _inline int is_wire_off(int x, int y);
#else
extern inline int is_wire_off(int x, int y);
@@ -417,7 +417,7 @@ extern inline int is_wire_off(int x, int y);
void set_emap(int x, int y);
#ifdef WIN32
#if defined(WIN32) && !defined(__GNUC__)
_inline int parts_avg(int ci, int ni);
#else
int parts_avg(int ci, int ni);