12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- /*
- * CDE - Common Desktop Environment
- *
- * Copyright (c) 1993-2012, The Open Group. All rights reserved.
- *
- * These libraries and programs are free software; you can
- * redistribute them and/or modify them under the terms of the GNU
- * Lesser General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * These libraries and programs are distributed in the hope that
- * they will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these libraries and programs; if not, write
- * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- * Floor, Boston, MA 02110-1301 USA
- */
- /*
- * File: boolean.h $XConsortium: boolean.h /main/3 1995/10/26 16:10:48 rswiston $
- *
- * (c) Copyright 1993, 1994 Hewlett-Packard Company
- * (c) Copyright 1993, 1994 International Business Machines Corp.
- * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
- * (c) Copyright 1993, 1994 Novell, Inc.
- */
- #ifndef __BOOLEAN_H_
- #define __BOOLEAN_H_
- #if defined(__aix)
- #undef NULL
- #define NULL 0
- #endif
- #if defined(SVR4)
- #include <sys/types.h>
- #if defined(sun) && defined(_XOPEN_SOURCE)
- #ifndef B_TRUE
- #define B_TRUE _B_TRUE
- #endif
- #ifndef B_FALSE
- #define B_FALSE _B_FALSE
- #endif
- #endif /* sun && _XOPEN_SOURCE */
- #ifndef boolean
- typedef boolean_t boolean;
- #endif
- #ifndef TRUE
- #define TRUE B_TRUE
- #endif
- #ifndef FALSE
- #define FALSE B_FALSE
- #endif
- #endif /* SVR4 */
- #if !defined(SVR4)
- #ifndef TRUE
- #define TRUE 1
- #endif
- #ifndef FALSE
- #define FALSE 0
- #endif
- #ifndef boolean
- typedef int boolean;
- #endif
- #endif /* ! SVR4 */
- #endif /* __BOOLEAN_H_ */
|