Skip to content

[libc] Incorrect architecture guarding macros in x86 sigsetjmp.cpp #164653

@bojle

Description

@bojle

This has the following structure of code inclusion guards:

#if __i386__
// i386 implementation
#endif 
// x86-64 implementation

Whereas it should really be:

#if __i386__
// i386 implementation
#else 
// x86-64 implementation
#endif 

setjmp.cpp does this correctly.

Is this intended? Or is it an issue? I can make a quick fix if this is a bug.

@SchrodingerZhu @michaelrj-google

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions