On Jul 28, 2005, at 12:42 PM, Kean Johnston wrote:
[ cough ] "always_inline" [ cough ]
HA!

I *knew* there was a solution. Thank you Mike.

So now I guess the question remains, for the cases where
you want a function to behave differently depending on
pre-processor conditionals, whats the best way of doing
it?

[ cough ]

#if _FILE_OFFSET_BITS - 0 == 32
 int open (const char *, int, int) asm ("open32");
#elif _FILE_OFFSET_BITS - 0 == 64
 int open (const char *, int, int) asm ("open64");
#else
 int open (const char *, int, int) asm ("__open");
#endif

[ cough ]

Reply via email to