Permalink
Browse files

still working on getting timespec working

  • Loading branch information...
1 parent d9956a0 commit fced88a8578744d877176798e597fdc9d2199ccf Peter Ohler committed Mar 29, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 ext/oj/dump.c
  2. +2 −0 ext/oj/oj.c
View
@@ -40,8 +40,10 @@
#include "cache8.h"
#ifdef RUBY_API_VERSION_MAJOR
+#ifndef RUBINIUS
#define HAS_TIMESPEC
#endif
+#endif
#ifndef HAVE_RUBY_ENCODING_H
#define rb_eEncodingError rb_eException
View
@@ -61,6 +61,8 @@ ID oj_to_hash_id;
ID oj_to_json_id;
ID oj_to_sym_id;
ID oj_write_id;
+ID oj_tv_nsec_id;
+ID oj_tv_sec_id;
VALUE oj_bag_class;
VALUE oj_date_class;

0 comments on commit fced88a

Please sign in to comment.