summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/SAM7S256/Include/stdbool.h
blob: 3eabc388670c968a93b643cd7676111e854b5a23 (plain)
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
/* stdbool.h header */
/* Copyright (C) 2003 IAR Systems.  All rights reserved. */

/* NOTE: IAR Extensions must be enabled in order to use the bool type! */

#ifndef _STDBOOL
#define _STDBOOL

#ifndef _SYSTEM_BUILD
#pragma system_include
#endif


#ifndef __C99_BOOL__
  #error "<stdbool.h>  compiled with wrong (version of IAR) compiler"
#endif

#ifndef __cplusplus

#define bool _Bool
#define true 1
#define false 0

#endif /* !__cplusplus */

#define __bool_true_false_are_defined 1

#endif /* !_STDBOOL */