Skip to content

Commit

Permalink
Merge pull request #2271 from jwillemsen/jwi-cpp23
Browse files Browse the repository at this point in the history
Define ACE_HAS_CPP23 when we have C++23 support
  • Loading branch information
jwillemsen authored Aug 5, 2024
2 parents 484ff9d + 78eb526 commit 21085b6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ACE/ace/config-g++-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
#define ACE_CC_MINOR_VERSION __GNUC_MINOR__
#define ACE_CC_BETA_VERSION (0)

#if __cplusplus >= 202302L
# define ACE_HAS_CPP23
#endif
#if __cplusplus >= 202002L
# define ACE_HAS_CPP20
#endif
Expand Down
3 changes: 3 additions & 0 deletions ACE/ace/config-win32-borland.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@
#if __cplusplus >= 202002L
# define ACE_HAS_CPP20
#endif
#if __cplusplus >= 202302L
# define ACE_HAS_CPP23
#endif

#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_WIN32_BORLAND_H */
4 changes: 4 additions & 0 deletions ACE/ace/config-win32-msvc-142.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@
# define ACE_HAS_CPP20
#endif /* _MSVC_LANG >= 202002L */

#if __cplusplus >= 202302L
# define ACE_HAS_CPP23
#endif

#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_WIN32_MSVC_142_H */

0 comments on commit 21085b6

Please sign in to comment.