Unix/DOS text mode?
Michael Schaap
cygwin@mscha.org
Thu Nov 22 14:52:00 GMT 2001
At 23:43 22-11-2001, you wrote:
>I'm all with it but please drop the usage of __CYGWIN32__. It's
>depricated. I will send a patch to vim-dev which drops all other
>__CYGWIN32__ in favour of __CYGWIN later.
Okay. I saw three different Cygwin checks in the header files, so I
decided to go with the safest one.
Here's a new patch.
- Michael
-------------------------8<-------------------------
--- ORIG/option.h Thu Nov 22 23:10:21 2001
+++ option.h Thu Nov 22 23:49:07 2001
@@ -67,7 +67,11 @@
# else
# define DFLT_FF "unix"
# define DFLT_FFS_VIM "unix,dos"
-# define DFLT_FFS_VI ""
+# ifdef __CYGWIN__
+# define DFLT_FFS_VI "unix,dos" /* Cygwin always needs file
detection */
+# else
+# define DFLT_FFS_VI ""
+# endif
# define DFLT_TEXTAUTO FALSE
# endif
#endif
------------------------->8-------------------------
Attachment:
ff_patch
Description: Binary data
--
I always wondered about the meaning of life. So I looked it
up in the dictionary under "L" and there it was - the meaning
of life. It was not what I expected. - Dogbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff_patch
Type: text/x-diff
Size: 386 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20011122/d51171db/attachment.bin>
More information about the Cygwin
mailing list