vcpkg/ports/promise-cpp/fix-ifdef.patch
chausner 3434e5cbab
[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>
2021-09-30 13:55:14 -07:00

13 lines
356 B
Diff

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