aboutsummaryrefslogtreecommitdiff
path: root/ports/promise-cpp/fix-ifdef.patch
diff options
context:
space:
mode:
authorchausner <15180557+chausner@users.noreply.github.com>2021-09-30 22:55:14 +0200
committerGitHub <noreply@github.com>2021-09-30 13:55:14 -0700
commit3434e5cbab6106eb86b198711cdae4c8f99e7dd8 (patch)
tree267fd5745756534a40760065157b6ede1b9c715b /ports/promise-cpp/fix-ifdef.patch
parent35bfef708400cf882efb3e4df93045e0a06c9c23 (diff)
downloadvcpkg-3434e5cbab6106eb86b198711cdae4c8f99e7dd8.tar.gz
vcpkg-3434e5cbab6106eb86b198711cdae4c8f99e7dd8.zip
[promise-cpp] Add new port (#20340)
* Update promise-cpp to 1.0.3 * Update CI baseline * Fix portfile * Update git-tree hash * Update to version 2.1.0 * Update CI baseline and git-tree hash * Add usage * Update git-tree hash * Update to promise-cpp 2.1.2 * Update git-tree hash Co-authored-by: chausner <chausner@users.noreply.github.com>
Diffstat (limited to 'ports/promise-cpp/fix-ifdef.patch')
-rw-r--r--ports/promise-cpp/fix-ifdef.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/promise-cpp/fix-ifdef.patch b/ports/promise-cpp/fix-ifdef.patch
new file mode 100644
index 000000000..8d818b3ab
--- /dev/null
+++ b/ports/promise-cpp/fix-ifdef.patch
@@ -0,0 +1,12 @@
+diff --git a/include/promise-cpp/promise.hpp b/include/promise-cpp/promise.hpp
+--- a/include/promise-cpp/promise.hpp
++++ b/include/promise-cpp/promise.hpp
+@@ -2,7 +2,7 @@
+ #ifndef INC_PROMISE_HPP_
+ #define INC_PROMISE_HPP_
+
+-#ifdef PROMISE_HEADER_ONLY
++#ifdef PROMISE_HEADONLY
+ #define PROMISE_API inline
+ #elif defined PROMISE_BUILD_SHARED
+