Skip to content

Commit 7ba2f82

Browse files
committed
This fixes an issues that was preventing compilation on some big-endian architectures.
A one line fix provided by Mattias Ellert. See #93 for the PR.
1 parent a0df478 commit 7ba2f82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

umac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ u_int32_t umac_get_u32_le(const void *vp)
154154
return (v);
155155
}
156156

157-
#if (! __LITTLE_ENDIAN__) /* compile time warning thrown otherwise */
157+
#if 0 /* compile time warning thrown otherwise */
158158
static __attribute__((__bounded__(__minbytes__, 1, 4)));
159159
void umac_put_u32_le(void *vp, u_int32_t v)
160160
{

0 commit comments

Comments
 (0)