At a rough guess the macro is maybe to do something like this:
MACRO FUNCDEF
XDEF _\1
ENDM
What that would do is to simply generate
XDEF _FunctionName
which is basically importing a name from outside the source, just as XDEF makes a name in the source externally visible.
But I am just guessing. All my asm stuff is optimising my own inner functions that virtually never use OS calls anyway...
-edit-
Heh, I should have read your first post more closely, the FUNCDEF macro is there.
I was close... :lol:
Anyway, the problem is no doubt with the SET directive. PhxAss uses the following instead
EQU
You could, as an experiment, before your include lines add the following
MACRO SET
1\ EQU \2
ENDM
might work...