Merge pull request #66807 from akien-mga/core-unix-remove-NO_FCNTL-and-NO_STATVFS
Unix: Remove now unnecessary I/O defines, cleanup
This commit is contained in:
commit
9928cdc2e7
18 changed files with 44 additions and 118 deletions
|
|
@ -1466,20 +1466,10 @@ bool Node::is_greater_than(const Node *p_node) const {
|
|||
|
||||
ERR_FAIL_COND_V(data.depth < 0, false);
|
||||
ERR_FAIL_COND_V(p_node->data.depth < 0, false);
|
||||
#ifdef NO_ALLOCA
|
||||
|
||||
Vector<int> this_stack;
|
||||
Vector<int> that_stack;
|
||||
this_stack.resize(data.depth);
|
||||
that_stack.resize(p_node->data.depth);
|
||||
|
||||
#else
|
||||
|
||||
int *this_stack = (int *)alloca(sizeof(int) * data.depth);
|
||||
int *that_stack = (int *)alloca(sizeof(int) * p_node->data.depth);
|
||||
|
||||
#endif
|
||||
|
||||
const Node *n = this;
|
||||
|
||||
int idx = data.depth - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue