Yes, you have it. The #define does text manipulation.
The link AWOL provides describes the "stringify" part:
http://gcc.gnu.org/onlinedocs/cpp/Stringification.html