-
Notifications
You must be signed in to change notification settings - Fork 120
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
the macros O_RDONLY, O_WRONLY, O_RDWR, O_NONBLOCK must be defined if no defined previously #179
Comments
is possible to use the same values as linux? |
yes, temporary solution... |
We need to include stdio.h because emulated version of driver needs access to the host functions open, read, write and close. We can't change the macros to avoid a new definition if it is previously defined. It isn't a solution because the stdio.h is not included in all files of project and as result we'd have a macro with a value in ciaaDriversSerial.c and a different value in Blinking.c. |
…nd change order of system's include block
…nd change order of system's include block
the macros O_RDONLY, O_WRONLY, O_RDWR, O_NONBLOCK must be defined if no defined previously. And include ciaaPOSIX_stdio.h after stdio.h (if necessary include stdio.h :)
The text was updated successfully, but these errors were encountered: