0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

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