How to obtain library name at compile/preprocessor time?
- From: "babuyama" <babu.yama@xxxxxxxxx>
- Date: 30 Sep 2005 12:22:09 -0700
Hi,
Is there a way to obtain library name at compile/preprocessor time?
Assuming that the compilation unit, myfile.c is part of mylib.a, from
myfile.c code at compile/preprocessor time, I would like to know that
the library name is "mylib". I could not find an equivalent of
__FUNCTION__, __FILE__ defines for getting the library name. Is there
another way?
Thanks,
Babu
.
- Prev by Date: Re: Reverse words in a string (Another Interview question)
- Previous by thread: problem due to localization of decimal representation of number
- Index(es):