aboutsummaryrefslogtreecommitdiff
path: root/patches/opensslconf.h.patch
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2014-07-10 22:06:10 -0500
committerBrent Cook <bcook@openbsd.org>2015-07-21 12:08:18 -0500
commit5d8a1cf7155130bd8101090d7e1d0c2f90d9b123 (patch)
tree286f7d12e3647f94bd1e6e8e180a4bf6215a0740 /patches/opensslconf.h.patch
parent7a4a37cf596697ae96eeb1c555989e6d1a443187 (diff)
downloadportable-5d8a1cf7155130bd8101090d7e1d0c2f90d9b123.tar.gz
portable-5d8a1cf7155130bd8101090d7e1d0c2f90d9b123.tar.bz2
portable-5d8a1cf7155130bd8101090d7e1d0c2f90d9b123.zip
add initial CMake and Visual Studio build support
This moves the compatibility include files from include to include/compat so we can use the awful MS C compiler <../include/> trick to emulate the GNU #include_next extension. This also removes a few old compat files we do not need anymore.
Diffstat (limited to 'patches/opensslconf.h.patch')
-rw-r--r--patches/opensslconf.h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/opensslconf.h.patch b/patches/opensslconf.h.patch
new file mode 100644
index 0000000..0507c92
--- /dev/null
+++ b/patches/opensslconf.h.patch
@@ -0,0 +1,13 @@
1--- include/openssl/opensslconf.h.orig 2015-07-19 23:21:47.000000000 -0600
2+++ include/openssl/opensslconf.h 2015-07-19 23:21:17.000000000 -0600
3@@ -1,6 +1,10 @@
4 #include <openssl/opensslfeatures.h>
5 /* crypto/opensslconf.h.in */
6
7+#if defined(_MSC_VER) && !defined(__attribute__)
8+#define __attribute__(a)
9+#endif
10+
11 /* Generate 80386 code? */
12 #undef I386_ONLY
13