mirror of https://github.com/OpenTTD/OpenTTD
(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 anywayrelease/0.6
parent
25e03150a6
commit
e13f5c19c1
|
@ -176,6 +176,11 @@ static inline bool SetNoDelay(int d)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
/* Looks like sys/socket.h uses a name we got in macros.h */
|
||||||
|
#undef ALIGN
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ENABLE_NETWORK */
|
#endif /* ENABLE_NETWORK */
|
||||||
|
|
||||||
#endif /* NETWORK_CORE_OS_ABSTRACTION_H */
|
#endif /* NETWORK_CORE_OS_ABSTRACTION_H */
|
||||||
|
|
Loading…
Reference in New Issue