title: Is there a way to use fopen_s() with GCC or at least create a #define about it?
body: <p>MSVC compiler says that <code>fopen()</code> is deprecated, and recommends the use of <code>fopen_s()</code>.</p>
  
  <p>Is there any way to use <code>fopen_s()</code> and still be portable?</p>
  
  <p>Any ideas for a <code>#define</code>?</p>