mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00: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