summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/LibIDN/stubs/win32')
-rw-r--r--3rdParty/LibIDN/stubs/win32/stdbool.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/3rdParty/LibIDN/stubs/win32/stdbool.h b/3rdParty/LibIDN/stubs/win32/stdbool.h
new file mode 100644
index 0000000..c789c92
--- /dev/null
+++ b/3rdParty/LibIDN/stubs/win32/stdbool.h
@@ -0,0 +1,40 @@
1/* Copyright (C) 2008-2015 Free Software Foundation, Inc.
2 Written by Adam Strzelecki <ono@java.pl>
3
4 This file is part of GNU Libidn.
5
6 GNU Libidn is free software: you can redistribute it and/or
7 modify it under the terms of either:
8
9 * the GNU Lesser General Public License as published by the Free
10 Software Foundation; either version 3 of the License, or (at
11 your option) any later version.
12
13 or
14
15 * the GNU General Public License as published by the Free
16 Software Foundation; either version 2 of the License, or (at
17 your option) any later version.
18
19 or both in parallel, as here.
20
21 GNU Libidn is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24 General Public License for more details.
25
26 You should have received copies of the GNU General Public License and
27 the GNU Lesser General Public License along with this program. If
28 not, see <http://www.gnu.org/licenses/>. */
29
30#ifndef _STDBOOL_H
31#define _STDBOOL_H
32
33#define _Bool signed char
34enum { false = 0, true = 1 };
35#define bool _Bool
36#define false 0
37#define true 1
38#define __bool_true_false_are_defined 1
39
40#endif /* _STDBOOL_H */