Skip to content

Commit

Permalink
android: fix x86 not building due to i386 check (#360)
Browse files Browse the repository at this point in the history
* android: fix x86 not building due to i386 check

* common.hh: i386 arch: change ssc to socket
  • Loading branch information
mribbons committed Apr 18, 2023
1 parent 508f1e6 commit 368fc69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common.hh
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ namespace SSC {
const String arch = "x86_64";
#elif defined(__aarch64__) || defined(_M_ARM64)
const String arch = "arm64";
#elif defined(__i386__)
#error SSC is not supported on i386.
#elif defined(__i386__) && !defined(__ANDROID__)
#error Socket is not supported on i386.
#else
const String arch = "unknown";
#endif
Expand Down

0 comments on commit 368fc69

Please sign in to comment.