librb: define RB_PATH_SEPARATOR
This commit is contained in:
parent
e0a9b5d3bf
commit
ac2f2189f9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue