Skip to content

Issue with ARM7 define in GBA cmake and libfat #348

Description

@Lorenzooone

Here the cmake defines ARM7 for the GBA cmake:

set(GBA_COMMON_FLAGS "-ffunction-sections -fdata-sections -D__GBA__ -DARM7")

However, libfat checks for ARM7 to define NDS in its header, which then causes issues when its tries to include ds-specific files here:
https://github.com/devkitPro/libfat/blob/154f7829d43421754085877d533d66743d42619a/include/fat.h#L43

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions