lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>> This would turn the original block of code into this:

>> 	fwprintf(stderr, _T("OOPS!  Bad thing just happened!"));
>> 	#else
>> 	fprintf(stderr, _T("OOPS!  Bad thing just happened!"));
>> 	#endif

> Please, please, never use #ifdef in code, only in header files.
> It's much better to try, e.g,

[example snipped]

Agreed.  My bad.

Michael T. Richter    <>
          PGP Key:
PGP Fingerprint: 40D1 33E0 F70B 6BB5 8353 4669 B4CC DD09 04ED 4FE8