aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Denhardt <[email protected]>2015-10-15 18:17:02 -0400
committerIan Denhardt <[email protected]>2015-10-15 18:17:02 -0400
commit1cb0967db5ab24bcf4b492b273401e63c1fdae1a (patch)
tree437f2266e3f618f0a8eaee53063eb41556bc9271
parent2a3781b127ccd4b2065eed77de03a8a9a418f1f7 (diff)
downloadotp-1cb0967db5ab24bcf4b492b273401e63c1fdae1a.tar.gz
otp-1cb0967db5ab24bcf4b492b273401e63c1fdae1a.tar.bz2
otp-1cb0967db5ab24bcf4b492b273401e63c1fdae1a.zip
Fix erroneous use of __uint32_t
The presence of this symbol is libc-specific. In particular, it is absent from musl. The correct solution is to use uint32_t.
-rw-r--r--erts/emulator/sys/common/erl_poll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_poll.h b/erts/emulator/sys/common/erl_poll.h
index 19ce582154..bd3a46ef0f 100644
--- a/erts/emulator/sys/common/erl_poll.h
+++ b/erts/emulator/sys/common/erl_poll.h
@@ -140,7 +140,7 @@ struct erts_sys_fd_type {
#endif
#define ERTS_POLL_EV_E2N(EV) \
- ((__uint32_t) (EV))
+ ((uint32_t) (EV))
#define ERTS_POLL_EV_N2E(EV) \
((ErtsPollEvents) (EV))