diff options
author | Florian Frank <flori@ping.de> | 2011-08-30 00:15:59 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-08-30 00:15:59 +0200 |
commit | 2149f4185c598fb97db1cabb03d3a786bdb79385 (patch) | |
tree | acfefd34d31061ae4ef6d0a8000894d52cebf25d | |
parent | e63431185a04d897c70fdef57e4260f410d997c2 (diff) | |
download | json-2149f4185c598fb97db1cabb03d3a786bdb79385.tar.gz |
We don't need RB_GC_GUARD for rbx.
-rw-r--r-- | ext/json/ext/generator/generator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/json/ext/generator/generator.h b/ext/json/ext/generator/generator.h index d72f71f..f882ea0 100644 --- a/ext/json/ext/generator/generator.h +++ b/ext/json/ext/generator/generator.h @@ -45,6 +45,11 @@ #define RSTRING_LEN(string) RSTRING(string)->len #endif +/* We don't need to guard objects for rbx, so let's do nothing at all. */ +#ifndef RB_GC_GUARD +#define RB_GC_GUARD(object) +#endif + /* fbuffer implementation */ typedef struct FBufferStruct { |