summaryrefslogtreecommitdiff
path: root/asm/macros/asm.inc
diff options
context:
space:
mode:
authorJaceCearK1 <JaceCearK1@users.noreply.github.com>2017-07-01 21:04:18 +0200
committerGitHub <noreply@github.com>2017-07-01 21:04:18 +0200
commit0dd804a99e5455a0eac8ff6ed87d9de16c7380b7 (patch)
tree7b3567978b63ee6548a7b945e075ea8ba37bef51 /asm/macros/asm.inc
parentf1344efd2aff92292f58f7323bd9297a38fe9b02 (diff)
parent8d82578d3a101b06f9d2ced31738021007c4e533 (diff)
Merge pull request #1 from pret/master
Update fork to match main fork.
Diffstat (limited to 'asm/macros/asm.inc')
-rw-r--r--asm/macros/asm.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/asm/macros/asm.inc b/asm/macros/asm.inc
index 4ac003fab..26b2707ca 100644
--- a/asm/macros/asm.inc
+++ b/asm/macros/asm.inc
@@ -1,3 +1,6 @@
+ .ifndef GUARD_ASM_MACROS_ASM_INC
+ .set GUARD_ASM_MACROS_ASM_INC, 1
+
.macro inc x
.set \x, \x + 1
.endm
@@ -10,3 +13,5 @@
.equiv \constant, __enum__
inc __enum__
.endm
+
+ .endif @ GUARD_ASM_MACROS_ASM_INC