title: Preprocessor directive in C# for importing based on platform
body: <p>Looking for a preprocessor directive in c# for importing dll based on whether the executable is 64bit or 32 bit:</p>
  
  <pre><code>#if WIN64
  [DllImport("ZLIB64.dll", CallingConvention=CallingConvention.Cdecl)]
  #else
  [DllImport("ZLIB32.dll", CallingConvention=CallingConvention.Cdecl)]
  </code></pre>