Created
October 29, 2013 05:25
-
-
Save kou1okada/7209539 to your computer and use it in GitHub Desktop.
Patch for compiling ruby-2.0.0-p247 on cygwin64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -cr ruby-2.0.0-p247.orig/file.c ruby-2.0.0-p247/file.c | |
*** ruby-2.0.0-p247.orig/file.c 2013-04-25 00:43:05.000000000 +0900 | |
--- ruby-2.0.0-p247/file.c 2013-10-29 14:21:53.112722600 +0900 | |
*************** | |
*** 4181,4187 **** | |
#ifdef __CYGWIN__ | |
#include <winerror.h> | |
- extern unsigned long __attribute__((stdcall)) GetLastError(void); | |
#endif | |
static VALUE | |
--- 4181,4186 ---- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment