diff options
author | Sebastian Kuzminsky <seb@highlab.com> | 2016-05-14 15:44:13 +0200 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2019-10-18 23:27:34 +0200 |
commit | aaf35585cdbdc23215b3e88f5ed384ac923c1cb9 (patch) | |
tree | 22ed907f356bb26d3ed444178bafaf396e866b83 /libs/minisat | |
parent | c065995beac9e0abd83689db9a854d047f9e4899 (diff) |
Change yosys to look for the #define constant "__unix__" instead of "__linux__", to select code appropriate for Unix-like systems. This has been tested with Clang 3.5 and GCC 4.6, 4.8, and 4.9 on Linux, and Clang 3.5 and GCC 4.9 on kFreeBSD.
Gbp-Pq: Name kfreebsd-support.patch
Diffstat (limited to 'libs/minisat')
-rw-r--r-- | libs/minisat/System.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/minisat/System.cc b/libs/minisat/System.cc index 1921a1d7..efbfb08e 100644 --- a/libs/minisat/System.cc +++ b/libs/minisat/System.cc @@ -29,7 +29,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA #include "System.h" -#if defined(__linux__) +#if defined(__unix__) #include <stdlib.h> |