summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-09-17 23:22:10 +0000
committerChristopher Faylor <me@cgf.cx>2006-09-17 23:22:10 +0000
commitb44ba33a1fab5031a0a727b59016baf3d40db20d (patch)
tree9e289a65724147803612ba1c2d8ab185f3dcaa2d
parent22aa38a0a8371ee1088ea16f98767e2732fed203 (diff)
downloadcygnal-b44ba33a1fab5031a0a727b59016baf3d40db20d.tar.gz
cygnal-b44ba33a1fab5031a0a727b59016baf3d40db20d.tar.bz2
cygnal-b44ba33a1fab5031a0a727b59016baf3d40db20d.zip
* byteorder.h: Correct typo.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/asm/byteorder.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 8e650cd6c..8992473a7 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2006-09-17 Danny Smith <dannysmith@clear.net.nz>
+ * byteorder.h: Correct typo.
+
+2006-09-17 Danny Smith <dannysmith@clear.net.nz>
+
* byteorder.h: Don't #define n* macros if -fnoinline is specified.
2006-09-07 Christopher Faylor <cgf@timesys.com>
diff --git a/winsup/cygwin/include/asm/byteorder.h b/winsup/cygwin/include/asm/byteorder.h
index ce45e5485..29e4bf470 100644
--- a/winsup/cygwin/include/asm/byteorder.h
+++ b/winsup/cygwin/include/asm/byteorder.h
@@ -70,7 +70,7 @@ __ntohs(uint16_t x)
#define __constant_htonl(x) __constant_ntohl(x)
#define __constant_htons(x) __constant_ntohs(x)
-#if defined (__OPTIMIZE__) && !defined (__NO_NOINLINE__)
+#if defined (__OPTIMIZE__) && !defined (__NO_INLINE__)
# define ntohl(x) \
(__builtin_constant_p((long)(x)) ? \
__constant_ntohl((x)) : \