Skip to content

Instantly share code, notes, and snippets.

View JanC89's full-sized avatar

Jan Christensen JanC89

  • Shipmondo
  • Denmark
View GitHub Profile
@JanC89
JanC89 / ruby-3.0-macos26.patch
Created June 30, 2026 13:42 — forked from unurgunite/ruby-3.0-macos26.patch
Fix build fail on macOS 26 for Ruby 3.0
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -62,7 +62,11 @@ static ID id_eq;
static ID id_half;
/* MACRO's to guard objects from GC by keeping them in stack */
+#ifdef RBIMPL_ATTR_MAYBE_UNUSED
+#define ENTER(n) RBIMPL_ATTR_MAYBE_UNUSED() volatile VALUE vStack[n];int iStack=0
+#else
#define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
@JanC89
JanC89 / wordpress-plugin-svn-to-git.md
Created November 25, 2024 14:56 — forked from kasparsd/wordpress-plugin-svn-to-git.md
Using Git with Subversion Mirroring for WordPress Plugin Development