Skip to content

IFNDEF directive is maybe broken #32

@ghost

Description

I tried to do "header guards" by using the IFNDEF directive, but the file ends up not being included at all

Here's what I've done on the inc file:

.ifndef HEADER_NAME
  HEADER_NAME = 0
  ; code here
.endif

Then I have included the inc file in my main file using .include "incfile.inc" and it doesn't get included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions