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

npapi.h attempts to use MOZ_PLATFORM_MAEMO without checking first if it is defined #5

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Include npapi.h in bare bones plugin
2. Try to build (defining XP_UNIX and MOZ_X11
3. Failure

What is the expected output? What do you see instead?
A successful build without the MAEMO enums defined.

What operating system are you compiling on?
Ubuntu 10.04

Attached is a patch to first check if the macro is defined before comparing 
it's value.

Original issue reported on code.google.com by robot...@chromium.org on 15 Jul 2011 at 8:39

Attachments:

@GoogleCodeExporter
Copy link
Author

Hrm, Josh, do you remember why you took those back out? We fixed this in
http://code.google.com/p/npapi-headers/source/detail?r=21
but then you changed it back in
http://code.google.com/p/npapi-headers/source/detail?r=31

Original comment by stuart.morgan on 19 Jul 2011 at 9:01

@GoogleCodeExporter
Copy link
Author

I'll fix this within the next week or so.

Out of curiosity, what's your toolchain, and what's the exact error?

Original comment by stuart.morgan on 22 Sep 2011 at 3:21

@GoogleCodeExporter
Copy link
Author

I'm fine with fixing this. Patch looks good to me so long as all un-checked 
usages are covered.

Original comment by josh....@gmail.com on 22 Sep 2011 at 3:21

@GoogleCodeExporter
Copy link
Author

Landed a fix as r14; sorry for the delay.

Original comment by stuart.morgan on 13 Oct 2011 at 8:34

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant