Navigation Menu

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

ENOTBLK not defined under Mac OS X #91

Closed
zwetan opened this issue Jun 18, 2016 · 3 comments
Closed

ENOTBLK not defined under Mac OS X #91

zwetan opened this issue Jun 18, 2016 · 3 comments
Labels
CLIB The C API
Milestone

Comments

@zwetan
Copy link
Member

zwetan commented Jun 18, 2016

in C.errno for mac ENOTBLK is zero

need to investigate into that

@zwetan zwetan added the CLIB The C API label Jun 18, 2016
@zwetan
Copy link
Member Author

zwetan commented Jun 21, 2016

was an AS3 bug

    public const ENOTBLK:int = ENOTBLK;
    __errmap[ ENOTBLK ] = "ENOTBLK";

instead of

    public const ENOTBLK:int = __errno.ENOTBLK;
    __errmap[ ENOTBLK ] = "ENOTBLK";

@zwetan
Copy link
Member Author

zwetan commented Jun 21, 2016

Still, now we added #define _DARWIN_C_SOURCE

for case like

#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
#define ENOTBLK   15    /* Block device required */
#endif

@zwetan zwetan added this to the 0.4.2 milestone Jun 21, 2016
@zwetan
Copy link
Member Author

zwetan commented Jun 21, 2016

fixed

@zwetan zwetan closed this as completed Jun 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLIB The C API
Projects
None yet
Development

No branches or pull requests

1 participant