title: c++ #ifdef Mac OS X question
body: <p>I am fairly new to C++.  I am currently working on a group project and we want to make our classes compatible with both the lab computers (Windows) and my computer (Mac OS X). </p>
  
  <p>Here is what we have been putting at the top of our files:</p>
  
  <pre><code>#ifdef TARGET_OS_X
  #    include &lt;GLUT/glut.h&gt;
  #    include &lt;OpenGL/OpenGL.h&gt;
  #elif defined _WIN32 || defined _WIN64
  #    include &lt;GL\glut.h&gt;
  #endif
  </code></pre>
  
  <p>I realize this question has been asked before but my searches have been giving me conflicting answers such as "_MAC", "TARGET_MAC_OS", "MACINTOSH", etc.  What is the current and correct declaration to put in the #ifdef statement to make this compatible with Mac?  Right now it is not working. </p>
  
  <p>Thank you!</p>