title: Case insensitive #define
body: <p>Is it possible to issue a case insensitive #define statement with the preprocessor? </p>
  
  <p>For example, I want to convert any casing of foobar to spameggs, i.e.:</p>
  
  <pre><code>FooBar -&gt; spameggs
  foobar -&gt; spameggs
  fooBar -&gt; spameggs
  Foobar -&gt; spameggs
  FOOBAR -&gt; spameggs
  FOOBAr -&gt; spameggs (an odd possibility I know)
  etc
  </code></pre>
  
  <p>The reason behind this is that I want to #define some fortran subroutines to have different names, and they of course are case insensitive. Please note that I don't really care about preserving the capitalisation scheme (which in the last example seems kinda nonsense).</p>