From: Bertram Scharpf Date: 2009-02-12T13:54:29+09:00 Subject: Re: ruby.h defining macros Hi John, Am Donnerstag, 12. Feb 2009, 09:11:18 +0900 schrieb John Ky: > When I include ruby.h, I'm getting new macros defined such as strcmpcase, > and close on the Windows platform. This is conflicting with macros and > function names in my own project. Is there a way to disable these macro > definitions? In my humble opinion, it were a lucky decision to name it "rb_strcmpcase" instead of "strcmpcase". (Besides that, "strcmpcase" is a bad example as it does't occur.) Anyhow, you should yourself name your functions like "jk_strcmpcase". This is a poor answer, I know. But C isn't an object-oriented language and there's no namespace solution provided. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de