Print this page
1059 curses.h conflicts with stdbool.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libxcurses2/h/curses.h
          +++ new/usr/src/lib/libxcurses2/h/curses.h
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 1996-2003 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27   27  #ifndef _CURSES_H
  28   28  #define _CURSES_H
  29   29  
  30      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  31      -
  32   30  /*
  33   31   * curses.h
  34   32   *
  35   33   * XCurses Library
  36   34   *
  37   35   * Copyright 1990, 1995 by Mortice Kern Systems Inc.  All rights reserved.
  38   36   *
  39   37   */
  40   38  
  41   39  #include <sys/isa_defs.h>
↓ open down ↓ 11 lines elided ↑ open up ↑
  53   51  #define EOF                     (-1)
  54   52  #endif
  55   53  
  56   54  #ifndef WEOF
  57   55  #define WEOF            ((wint_t)(-1))
  58   56  #endif
  59   57  
  60   58  #define ERR                     EOF
  61   59  #define OK                      0
  62   60  
  63      -#if !(defined(__cplusplus) && defined(_BOOL))
       61 +#if !(defined(__cplusplus) && defined(bool))
  64   62  #ifndef _BOOL_DEFINED
  65   63  typedef short   bool;
  66   64  #define _BOOL_DEFINED
  67   65  #endif
  68   66  #endif
  69   67  
  70   68  #define TRUE                    1
  71   69  #define FALSE                   0
  72   70  
  73   71  typedef unsigned short  attr_t;
↓ open down ↓ 1132 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX