bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minor build fixes


From: Ken Brown
Subject: Re: Minor build fixes
Date: Fri, 03 Oct 2014 08:25:55 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 10/3/2014 2:31 AM, Eli Zaretskii wrote:
What about file names with drive letters?  Experience (in the GNU Make
department) indicates that some Cygwin users want that, perhaps
because they use Cygwin tools outside of the Cygwin environment.

OK, maybe I shouldn't rock the boat. I'll withdraw the suggested patch to system.h and instead just propose the following, to silence the compiler warnings:

Index: system.h
===================================================================
--- system.h    (revision 5852)
+++ system.h    (working copy)
@@ -148,7 +148,9 @@
 #  define SET_SCREEN_SIZE_HELPER terminal_prep_terminal()
 #  define DEFAULT_INFO_PRINT_COMMAND ">PRN"
 # else   /* O_BINARY && !__MSDOS__ */
-#  define setmode(f,m)  _setmode(f,m)
+#  ifndef setmode
+#   define setmode(f,m)  _setmode(f,m)
+#  endif
 #  define HAVE_LONG_FILENAMES(dir)   (1)
 #  define NULL_DEVICE  "NUL"
 # endif  /* O_BINARY && !__MSDOS__ */

Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]