forked from github/server
gcc inline muss static deklariert werden.
This commit is contained in:
parent
a6ffd0f35b
commit
475bd5a735
|
@ -36,7 +36,7 @@ extern "C" {
|
|||
**** ****/
|
||||
#if defined __GNUC__
|
||||
# define HAVE_INLINE
|
||||
# define INLINE_FUNCTION __inline
|
||||
# define INLINE_FUNCTION static __inline
|
||||
#endif
|
||||
|
||||
/* define USE_DMALLOC to enable use of the dmalloc library */
|
||||
|
|
|
@ -1081,13 +1081,15 @@ fix_chaosgates(void)
|
|||
while (a!=NULL) {
|
||||
spec_direction * sd = (spec_direction *)a->data.v;
|
||||
region * r2 = findregion(sd->x, sd->y);
|
||||
border * b = get_borders(r, r2);
|
||||
while (b) {
|
||||
if (b->type==&bt_chaosgate) break;
|
||||
b = b->next;
|
||||
}
|
||||
if (b==NULL) {
|
||||
b = new_border(&bt_chaosgate, r, r2);
|
||||
if (r2!=NULL) {
|
||||
border * b = get_borders(r, r2);
|
||||
while (b) {
|
||||
if (b->type==&bt_chaosgate) break;
|
||||
b = b->next;
|
||||
}
|
||||
if (b==NULL) {
|
||||
b = new_border(&bt_chaosgate, r, r2);
|
||||
}
|
||||
}
|
||||
a = a->nexttype;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue