Loading ...
Sorry, an error occurred while loading the content.

[PATCH] 2002-09-16

Expand Messages
  • ewitness - Ben Fowler
    This does two things: 1. Removes the contentious inclusion of , and replaces it with which contains the needed declarations of the curses
    Message 1 of 1 , Sep 16, 2002
    • 0 Attachment
      This does two things:

      1. Removes the contentious inclusion of <curses.h>, and
      replaces it with <termcap.h> which contains the needed
      declarations of the curses functions.

      2. Defines HAVE_SYS_IOCTL_H in order to enable the inclusion
      of <sys/ioctl.h>, with its declaration of the ioctl( ) function.


      Index: src/os_mac.h
      ===================================================================
      RCS file: /cvsroot/vim/vim/src/os_mac.h,v
      retrieving revision 1.22
      diff -c -r1.22 os_mac.h
      *** src/os_mac.h 11 Mar 2002 23:16:25 -0000 1.22
      --- src/os_mac.h 16 Sep 2002 11:42:55 -0000
      ***************
      *** 67,76 ****
      #endif
      #if defined(__APPLE_CC__) /* && defined(HAVE_CURSE) */
      /* The curses.h from MacOS X provides by default some BACKWARD compatibilty
      ! * definition which can cause us problem later on. So we undefine a few of them. */
      # include <curses.h>
      # undef reg
      ! # undef ospeed
      #endif
      #include <signal.h>
      #include <errno.h>
      --- 67,78 ----
      #endif
      #if defined(__APPLE_CC__) /* && defined(HAVE_CURSE) */
      /* The curses.h from MacOS X provides by default some BACKWARD compatibilty
      ! * definition which can cause us problem later on. So we undefine a few of them.
      # include <curses.h>
      # undef reg
      ! # undef ospeed */
      ! /* #include <term.h> */
      ! #include <termcap.h>
      #endif
      #include <signal.h>
      #include <errno.h>
      ***************
      *** 151,156 ****
      --- 153,159 ----
      #define HAVE_MEMSET
      #define USE_TMPNAM /* use tmpnam() instead of mktemp() */
      #define HAVE_FCNTL_H
      + #define HAVE_SYS_IOCTL_H 1
      #define HAVE_QSORT
      #define HAVE_ST_MODE /* have stat.st_mode */

      Ben.
      --
      Privileged/Confidential Information may be contained in this message.
      If you are not the addressee indicated in this message (or responsible
      for delivery of the message to such person), you may not copy or deliver
      this message to anyone. In such case, you should destroy this message
      and kindly notify the sender by reply email. Please advise immediately
      if you or your employer do not consent to Internet email messages of this
      kind. Opinions, conclusions and other information in this message that
      do not relate to the official business of ewitness Limited shall be
      understood as neither given nor endorsed by it.

      eWitness Limited, Alpha House, Redvers Close, Lawnswood Business Park, Leeds, LS16 6QY
      Telephone: 0113 2951112 Fax: 0113 2951114
    Your message has been successfully submitted and would be delivered to recipients shortly.