-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94df27f
commit 82e2a6e
Showing
1 changed file
with
3 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
DEF MAJOR EQU 0 | ||
DEF MINOR EQU 6 | ||
DEF PATCH EQU 0 | ||
|
||
DEF WRONG_RGBDS EQUS "fail \"pokered requires rgbds v0.6.0 or newer.\"" | ||
|
||
IF !DEF(__RGBDS_MAJOR__) || !DEF(__RGBDS_MINOR__) || !DEF(__RGBDS_PATCH__) | ||
WRONG_RGBDS | ||
ELSE | ||
IF (__RGBDS_MAJOR__ < MAJOR) || \ | ||
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ < MINOR) || \ | ||
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ == MINOR && __RGBDS_PATCH__ < PATCH) || \ | ||
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ == MINOR && __RGBDS_PATCH__ == PATCH && DEF(__RGBDS_RC__)) | ||
WRONG_RGBDS | ||
fail "pokered requires rgbds v0.7.0 or newer." | ||
ENDC | ||
IF __RGBDS_MAJOR__ == 0 && __RGBDS_MINOR__ < 7 | ||
fail "pokered requires rgbds v0.7.0 or newer." | ||
ENDC |