mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-24 14:09:33 +01:00
(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:
parent
25e03150a6
commit
e13f5c19c1
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user