diff options
author | Tobias Markmann <tm@ayena.de> | 2015-11-12 13:42:58 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2015-12-17 20:06:10 (GMT) |
commit | 02a5b5c7f263913bd3d9b6977a1c6935e90c97eb (patch) | |
tree | c5f3078540ae663d2a7cd379660f2fb8847efb06 /3rdParty/LibIDN/stubs/win32/stdbool.h | |
parent | 6c63910aa1016f06113fd562c8ffebfa6b4241b2 (diff) | |
download | swift-02a5b5c7f263913bd3d9b6977a1c6935e90c97eb.zip swift-02a5b5c7f263913bd3d9b6977a1c6935e90c97eb.tar.bz2 |
3rdParty fixes to enable compatibility with VS 2015
Included patches for future reference.
Test-Information:
Tested patches with VS 2015 Community and unit tests for
32 bit and 64 bit builds.
Change-Id: Ifa8d0ca3bf33010af8d8094c6df45f2a5702976c
Diffstat (limited to '3rdParty/LibIDN/stubs/win32/stdbool.h')
-rw-r--r-- | 3rdParty/LibIDN/stubs/win32/stdbool.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/3rdParty/LibIDN/stubs/win32/stdbool.h b/3rdParty/LibIDN/stubs/win32/stdbool.h deleted file mode 100644 index c789c92..0000000 --- a/3rdParty/LibIDN/stubs/win32/stdbool.h +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (C) 2008-2015 Free Software Foundation, Inc. - Written by Adam Strzelecki <ono@java.pl> - - This file is part of GNU Libidn. - - GNU Libidn is free software: you can redistribute it and/or - modify it under the terms of either: - - * the GNU Lesser General Public License as published by the Free - Software Foundation; either version 3 of the License, or (at - your option) any later version. - - or - - * the GNU General Public License as published by the Free - Software Foundation; either version 2 of the License, or (at - your option) any later version. - - or both in parallel, as here. - - GNU Libidn is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received copies of the GNU General Public License and - the GNU Lesser General Public License along with this program. If - not, see <http://www.gnu.org/licenses/>. */ - -#ifndef _STDBOOL_H -#define _STDBOOL_H - -#define _Bool signed char -enum { false = 0, true = 1 }; -#define bool _Bool -#define false 0 -#define true 1 -#define __bool_true_false_are_defined 1 - -#endif /* _STDBOOL_H */ |