ports/cad/openfpgaloader/files/patch-src_lattice.cpp
Piotr Kubaj b093f9d546 cad/openfpgaloader: fix build on GCC architectures
Additional files now use ETIME.
2020-12-29 13:56:29 +00:00

13 lines
233 B
C++

--- src/lattice.cpp.orig 2020-12-17 12:58:30 UTC
+++ src/lattice.cpp
@@ -34,6 +34,10 @@
#include "part.hpp"
#include "spiFlash.hpp"
+#ifndef ETIME
+#define ETIME 9935
+#endif
+
using namespace std;
#define ISC_ENABLE 0xc6