Skip to content

Commit

Permalink
Define ACE_HAS_CPP23 when we have C++23 support
Browse files Browse the repository at this point in the history
    * ACE/ace/config-g++-common.h:
    * ACE/ace/config-win32-borland.h:
    * ACE/ace/config-win32-msvc-142.h:
  • Loading branch information
jwillemsen committed Aug 5, 2024
1 parent b982a45 commit 78eb526
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 78eb526

Please sign in to comment.