Added "include <alloca.h>" due to compile failure on Cygwin
parent
69098d8cf2
commit
6b2129afb3
|
|
@ -74,6 +74,9 @@ being unloaded from L1 cache, until that round is finished.
|
|||
#include "cpu.h"
|
||||
#include "trap.h"
|
||||
|
||||
// Non-conforming C++ program die to alloca. See http://stackoverflow.com/q/31645309/608639.
|
||||
#include <alloca.h>
|
||||
|
||||
#if GCC_DIAGNOSTIC_AWARE
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wunused-function"
|
||||
|
|
|
|||
Loading…
Reference in New Issue