Skip to content

Commit

Permalink
* include/ruby/defines.h (DOSISH): add comments.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
kosaki committed Oct 18, 2015
1 parent a0a77c5 commit 6803c4e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Sun Oct 18 08:50:15 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>

* include/ruby/defines.h (DOSISH): add comments.

Sun Oct 18 08:26:51 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>

* io.c (fptr_finalize): don't release gvl if fptr is not writable.
Expand Down
5 changes: 5 additions & 0 deletions include/ruby/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ void xfree(void*);
#endif

#if defined(_WIN32) || defined(__EMX__)
/*
DOSISH mean MS-Windows style filesystem.
But you should use more precise macros like DOSISH_DRIVE_LETTER, PATH_SEP,
ENV_IGNORECASE or CASEFOLD_FILESYSTEM.
*/
#define DOSISH 1
# define DOSISH_DRIVE_LETTER
#endif
Expand Down

0 comments on commit 6803c4e

Please sign in to comment.