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
Python-2.5.2/Modules/mmapmodule.c:915: error: `O_RDWR' undeclared #47516
Comments
Some typo in the sources showing up on Solaris 2.6 only? building 'mmap' extension |
Why do you think there is a typo? O_RDWR is a valid constant that should Can you please find out from the open(2) man page: a) whether Solaris |
So adding these two lines helped: # diff /usr/scratch/Python-2.5.2/Modules/mmapmodule.c.ori
|
survey of other modules that use O_RDRW posixmodule.c includes them after doing an #ifdef check mmapmodule.c currently (2.7 trunk) includes sys/types.h with an ifdef |
Still a problem with 2.7 or later? |
Compilation works on Solaris 10 and 11 for quite some time. Please reopen the bug report if you still have issues. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: