title: cygwin compiler to compile ruby file.c error
body: <p>I am tryint to compile ruby 2.0.0-p535 using the compiler cygwin. I have cygwin installed and running. I compiled cygdrive/c/Source/ruby-2.0.0-p353. When trying to compile the file using the make function i get this error.</p>
  
  <pre><code>compiling load.c
  compiling proc.c
  compiling file.c
  file.c:4184:47: error: conflicting types for ‘GetLastError’
  extern unsigned long __attribute__((stdcall)) GetLastError(void);
                                             ^
  In file included from /usr/include/w32api/winbase.h:16:0,
               from /usr/include/w32api/windows.h:70,
               from file.c:18:
  /usr/include/w32api/errhandlingapi.h:45:27: note: previous declaration of  ‘GetLastError’ was here
  WINBASEAPI DWORD WINAPI GetLastError (VOID);
                         ^
  Makefile:328: recipe for target 'file.o' failed
  make: *** [file.o] Error 1
  </code></pre>
  
  <p>Any help is really appreciated. Let me know if any other information would be useful.</p>