Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to compile on OpenBSD (ALIGN macro defined) #1450

Closed
DorpsGek opened this issue Nov 18, 2007 · 3 comments
Closed

Failure to compile on OpenBSD (ALIGN macro defined) #1450

DorpsGek opened this issue Nov 18, 2007 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

matze opened the ticket and wrote:

r11462:

Compilation fails (and has failed for a bit) on some network stuff including macros.h on OpenBSD, the reason being an ALIGN(p) being defined in /usr/include/i386/param.h. A simple # undef ALIGN put in macros.h before the ALIGN function definition solves this, like the attached patch. There might be a better place and way to solve this, though.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/1450
@DorpsGek
Copy link
Member Author

Bjarni wrote:

reopened by user request. The fix didn't work.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1450#comment2745

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Strange that it did not work because it undefs the ALIGN macro for OpenBSD.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1450#comment2751

@DorpsGek
Copy link
Member Author

skidd13 closed the ticket.

Reason for closing: Fixed

In r11480


This comment was imported from FlySpray: https://bugs.openttd.org/task/1450

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant