Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on May 30, 2012
@ecielam ecielam windows changes 1131b43
Showing with 8 additions and 0 deletions.
  1. +4 −0 ext/oj/oj.c
  2. +4 −0 ext/oj/oj.h
View
4 ext/oj/oj.c
@@ -34,7 +34,11 @@
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
+#ifdef __WIN32__
+#include <io.h>
+#else
#include <sys/uio.h>
+#endif
#include <unistd.h>
#include "oj.h"
View
4 ext/oj/oj.h
@@ -64,6 +64,10 @@ enum st_retval {ST_CONTINUE = 0, ST_STOP = 1, ST_DELETE = 2, ST_CHECK};
#define raise_error(msg, xml, current) _oj_raise_error(msg, xml, current, __FILE__, __LINE__)
+#ifdef __WIN32__
+#define NEEDS_STPCPY
+#endif
+
typedef enum {
Yes = 'y',
No = 'n',

No commit comments for this range

Something went wrong with that request. Please try again.