(svn r7767) -Fix r7751: [OSX] nameclash in includes. ALIGN was defined in both a library and macros.h

we undefines the library one since we don't need that one anyway
This commit is contained in:
bjarni
2007-01-02 21:27:28 +00:00
parent e5722f8820
commit 9db571c6db

View File

@@ -176,6 +176,11 @@ static inline bool SetNoDelay(int d)
#endif
}
#ifdef __APPLE__
/* Looks like sys/socket.h uses a name we got in macros.h */
#undef ALIGN
#endif
#endif /* ENABLE_NETWORK */
#endif /* NETWORK_CORE_OS_ABSTRACTION_H */