From: Antti T. <se...@si...> - 2001-03-22 19:05:42
|
On Thu, 22 Mar 2001, Brian Paul wrote: > > __FUNCTION__ is a problem for Windows as well. > > > > It would be nice to have > > > > #if defined(VMS) || defined(WIN32) > > #define __FUNCTION__ > > #endif > > > > in texutil_tmp.h > > Better yet: > > #ifndef __FUNCTION__ > #define __FUNCTION__ "<some function>" > #endif That would define __FUNCTION__ as "<some function>" with gcc also, the only way to get through that is #ifndef __GNUC__ #define __FUNCTION__ "<some function>" #endif Works for me. ___ Antti Tapaninen se...@si... |