I'm having problem getting SWIG to recognize system macros, like __x86_64.  I have the following lines of code...
 
#if defined(__x86_64) || defined(__x86_64__) || defined(_linux_)
 
typedef long type2;
 
#endif
 
I'm on a linux_x86_64 machine and I think those macros are defined by the system.  I'm trying to get the SWIG's preprocessor to recognize those macros, but with no luck.  Any ideas?
 
any advice is greatly appreciated..
 
thanks,
Zen


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.