Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc9a0a23

Browse files
committed
#ifdef around true and false.
1 parent51ae213 commitc9a0a23

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/include/c.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: c.h,v 1.57 1999/06/19 05:00:30 momjian Exp $
10+
* $Id: c.h,v 1.58 1999/07/01 19:47:25 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -71,8 +71,12 @@ typedef char bool;
7171

7272
#endif/* ndef bool */
7373
#endif/* not C++ */
74-
#definefalse((bool) 0)
74+
#ifndeftrue
7575
#definetrue((bool) 1)
76+
#endif
77+
#ifndeffalse
78+
#definefalse((bool) 0)
79+
#endif
7680
typedefbool*BoolPtr;
7781

7882
#ifndefTRUE

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp