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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libxcurses/h/curses.h
          +++ new/usr/src/lib/libxcurses/h/curses.h
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  /*
  30   28   * curses.h
  31   29   *
  32   30   * XCurses Library
  33   31   *
  34   32   * Copyright 1990, 1995 by Mortice Kern Systems Inc.  All rights reserved.
  35   33   *
  36   34   */
  37   35  
  38   36  #ifndef __M_CURSES_H__
↓ open down ↓ 18 lines elided ↑ open up ↑
  57   55   * Not all <wchar.h> are created equal.
  58   56   */
  59   57  #ifndef _MBSTATE_T
  60   58  #define _MBSTATE_T
  61   59  typedef int mbstate_t;
  62   60  #endif
  63   61  
  64   62  #define ERR                     EOF
  65   63  #define OK                      0
  66   64  
  67      -#if !(defined(__cplusplus) && defined(_BOOL))
       65 +#if !(defined(__cplusplus) && defined(bool))
  68   66  typedef short bool;
  69   67  #endif
  70   68  
  71   69  #define TRUE                    1
  72   70  #define FALSE                   0
  73   71  
  74   72  typedef unsigned short attr_t;
  75   73  
  76   74  /*
  77   75   * These attributes and masks can be applied to an attr_t.  
↓ open down ↓ 1131 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX