Skip to content

Commit

Permalink
Fix C link test incorrectly failing on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Nov 10, 2024
1 parent ebcd267 commit 954a054
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions include/outcome/detail/revision.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Distributed under the Boost Software License, Version 1.0.
*/

// Note the second line of this file must ALWAYS be the git SHA, third line ALWAYS the git SHA update time
#define OUTCOME_PREVIOUS_COMMIT_REF 84e9e394f800b73b5c4f4f901752998cd97aa767
#define OUTCOME_PREVIOUS_COMMIT_DATE "2024-10-17 18:48:13 +00:00"
#define OUTCOME_PREVIOUS_COMMIT_UNIQUE 84e9e394
#define OUTCOME_PREVIOUS_COMMIT_REF ebcd26750db46336e460d5e5de9448474a25854e
#define OUTCOME_PREVIOUS_COMMIT_DATE "2024-11-06 01:20:54 +00:00"
#define OUTCOME_PREVIOUS_COMMIT_UNIQUE ebcd2675
4 changes: 3 additions & 1 deletion include/outcome/experimental/result.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ Distributed under the Boost Software License, Version 1.0.
#ifndef OUTCOME_C_INLINE
#if __STDC_VERSION__ >= 199900L || __cplusplus > 0
#define OUTCOME_C_INLINE inline
#elif defined(__GNUC__) || defined(__clang__)
#elif defined(__GNUC__) || defined(__clang__) || defined(_MSC_VER)
#define OUTCOME_C_INLINE __inline
#else
#define OUTCOME_C_INLINE
#endif
#endif

Expand Down

0 comments on commit 954a054

Please sign in to comment.