Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define ACE_HAS_CPP23 when we have C++23 support #2271

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 */