Debian Codegraph @

boolean.h

raw symbols SCIP
1 /* RetroArch - A frontend for libretro.
2 * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3 *
4 * RetroArch is free software: you can redistribute it and/or modify it under the terms
5 * of the GNU General Public License as published by the Free Software Found-
6 * ation, either version 3 of the License, or (at your option) any later version.
7 *
8 * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 * PURPOSE. See the GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License along with RetroArch.
13 * If not, see <http://www.gnu.org/licenses/>.
14 */
15
16 #ifndef __RARCH_BOOLEAN_H
17 #define __RARCH_BOOLEAN_H
18
19 #ifndef __cplusplus
20
21 #if defined(_MSC_VER) && !defined(SN_TARGET_PS3)
22 /* Hack applied for MSVC when compiling in C89 mode as it isn't C99 compliant. */
23 #define bool unsigned char
24 #define true 1
25 #define false 0
26 #else
27 #include <stdbool.h>
28 #endif
29
30 #endif
31
32 #endif
33