{$define c := GetC(a, b)}
is not a valid fpc macro, that is the point.
fpc macro's do not take parameters.
programmers tend to read documentation.
What you want to happen is that a variable can be declared with a value that depends on a function result and that is not possible in Pascal.
This is only possible in the body of a program, procedure or function.
You also obviously did not even test your macro....disturbing....
Variable declaration can only be done with literal values, not with computed values.