summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc/lib/misc/cbits/ByteOps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/lib/misc/cbits/ByteOps.c b/ghc/lib/misc/cbits/ByteOps.c
index 11ee7b267c..77e017f571 100644
--- a/ghc/lib/misc/cbits/ByteOps.c
+++ b/ghc/lib/misc/cbits/ByteOps.c
@@ -26,7 +26,7 @@ returns the number of bytes taken.
/* need the ANSI arg decl, so "short" and "float" args dont get promoted */
#define X2BYTES(type) \
I_ \
-type##2bytes(type in, unsigned char *arr) \
+type##2bytes__(type in, unsigned char *arr) \
{ \
union { \
type i; \
@@ -44,7 +44,7 @@ type##2bytes(type in, unsigned char *arr) \
#else /* not STDC */
#define X2BYTES(type) \
I_ \
-type##2bytes(type in, unsigned char *arr) \
+type##2bytes__(type in, unsigned char *arr) \
{ \
union { \
type i; \