File: boolean.h

package info (click to toggle)
gopher 2.3-2
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,364 kB
  • ctags: 2,030
  • sloc: ansic: 22,451; perl: 1,950; sh: 1,510; makefile: 397; asm: 1
file content (44 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/********************************************************************
 * lindner
 * 3.1.1.1
 * 1993/02/11 18:03:05
 * /home/mudhoney/GopherSrc/CVS/gopher+/object/boolean.h,v
 * $Status: $
 *
 * Paul Lindner, University of Minnesota CIS.
 *
 * Copyright 1991, 1992 by the Regents of the University of Minnesota
 * see the file "Copyright" in the distribution for conditions of use.
 *********************************************************************
 * MODULE: boolean.h
 * Header file that defines a boolean type.
 *********************************************************************
 * Revision History:
 * boolean.h,v
 * Revision 3.1.1.1  1993/02/11  18:03:05  lindner
 * Gopher+1.2beta release
 *
 * Revision 1.1  1992/12/10  23:27:52  lindner
 * gopher 1.1 release
 *
 *
 *********************************************************************/


/*
 * Simple boolean type
 */

#ifndef BOOLEAN_H
#define BOOLEAN_H

#undef boolean  /** Just in case it's defined **/
typedef int boolean;
typedef int BOOLEAN;

#if !defined(TRUE) && !defined(FALSE)
#define TRUE (1)
#define FALSE (0)
#endif

#endif /* BOOLEAN_H */