Commit 594dfe68 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

iphlpapi: MacOS struct sockaddr is 4 byte aligned on 64 bit.

parent 22cdc4e3
......@@ -145,7 +145,7 @@
#ifndef ROUNDUP
#define ROUNDUP(a) \
((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
((a) > 0 ? (1 + (((a) - 1) | (sizeof(int) - 1))) : sizeof(int))
#endif
#ifndef ADVANCE
#define ADVANCE(x, n) (x += ROUNDUP(((struct sockaddr *)n)->sa_len))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment