aboutsummaryrefslogtreecommitdiff
path: root/drivers/cc3000/src/inet_ntop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cc3000/src/inet_ntop.c')
-rw-r--r--drivers/cc3000/src/inet_ntop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cc3000/src/inet_ntop.c b/drivers/cc3000/src/inet_ntop.c
index 1b7e01a23..c03ac44cd 100644
--- a/drivers/cc3000/src/inet_ntop.c
+++ b/drivers/cc3000/src/inet_ntop.c
@@ -27,7 +27,7 @@
#define ENOSPC (28)
#define EAFNOSUPPORT (106)
-#define SET_ERRNO(err) (errno=-err)
+#define SET_ERRNO(err) (CC3000_EXPORT(errno)=-err)
/*
* Format an IPv4 address, more or less like inet_ntoa().