Hi all,
I've been programming in C language for a while now, years to be realistic.
I was looking at this file today, and I came across something that is (as an assumption) extremely easy, but for the life of me I am not able to understand it.
#define _FAR
#define _PTR_ _FAR *
then the code goes on defining pointers to integers, etc...
Throughout the years I've programmed in C, I was used to something like this:
#define _SOMETHING 1
#define _SOMETHING2 _SOMETHING
which makes sense to me. I have an identifier and a string-token.
Even saying something as
#define _SOMETHING3
is acceptable to me because the way I've used it is as a check
#if defined _SOMETHING3
or #ifndef _SOMETHING3
My question is, how am I able to use _FAR when I do not have an actual string-token associated with it? Can someone explain to me what these two lines mean?
#define _FAR
#define _PTR_ _FAR *
Thanks in advance!