librb: define RB_PATH_SEPARATOR

This commit is contained in:
William Pitcock 2016-03-24 18:21:11 -05:00
parent e0a9b5d3bf
commit ac2f2189f9

View file

@ -69,9 +69,11 @@ char *alloca();
#ifdef _WIN32
#define rb_get_errno() do { errno = WSAGetLastError(); WSASetLastError(errno); } while(0)
typedef SOCKET rb_platform_fd_t;
#define RB_PATH_SEPARATOR '\\'
#else
#define rb_get_errno()
typedef int rb_platform_fd_t;
#define RB_PATH_SEPARATOR '/'
#endif
#ifdef _WIN32