aboutsummaryrefslogtreecommitdiffstats
path: root/backends/aiger
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-07-31 09:10:24 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-07-31 09:10:24 +0200
commit35d28de47892d7905d8b37538a581950d4eb54c7 (patch)
treef57bc54f0ecc3c929375d34498dd6ce3b5d7207b /backends/aiger
parentb4f38cca77a78884ce215190935af78cae92c4db (diff)
downloadyosys-35d28de47892d7905d8b37538a581950d4eb54c7.tar.gz
yosys-35d28de47892d7905d8b37538a581950d4eb54c7.tar.bz2
yosys-35d28de47892d7905d8b37538a581950d4eb54c7.zip
Visual Studio build fix
Diffstat (limited to 'backends/aiger')
-rw-r--r--backends/aiger/xaiger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/aiger/xaiger.cc b/backends/aiger/xaiger.cc
index 69f63486c..6aa9cde54 100644
--- a/backends/aiger/xaiger.cc
+++ b/backends/aiger/xaiger.cc
@@ -53,7 +53,7 @@ PRIVATE_NAMESPACE_BEGIN
inline int32_t to_big_endian(int32_t i32) {
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
- return __builtin_bswap32(i32);
+ return bswap32(i32);
#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
return i32;
#else