diff options
author | axel <axel@liljencrantz.se> | 2006-01-26 19:57:06 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-26 19:57:06 +1000 |
commit | 5054492c6aba3b73f147921c3a328702ec6ba07e (patch) | |
tree | da0c7b94b943851523a56f0cc83fda007d7f212c /fishd.c | |
parent | 58931548234dd2ce2ff591a1390a22411b35ac97 (diff) |
Fixes to make fish work on Cygwin. Firstly a bunch of minor fixes fo the wcs* fallback functions, secondly MSG_DONTWAIT (a socket flag) is set to zero if it isn't already defined
darcs-hash:20060126095706-ac50b-766c1e2c0408dc51fc7379af38005352f7603b1e.gz
Diffstat (limited to 'fishd.c')
-rw-r--r-- | fishd.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -74,6 +74,15 @@ time the original barrier request was sent have been received. #endif /** + Fallback if MSG_DONTWAIT isn't defined. That's actually prerry bad, + and may lead to strange fishd behaviour, but at least it should + work most of the time. +*/ +#ifndef MSG_DONTWAIT +#define MSG_DONTWAIT 0 +#endif + +/** Small greeting to show that fishd is running */ #define GREETING "#Fish universal variable daemon\n" |