mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-22 18:07:54 +02:00
macros: Add a generic way to get and check the supported C standard
Try to get the value of __STDC_VERSION__ if supported, if not just fallback to the oldest standard that any compiler should handle.
This commit is contained in:
@@ -411,6 +411,8 @@ G_GNUC_INTERNAL
|
||||
G_GNUC_MAY_ALIAS
|
||||
|
||||
<SUBSECTION>
|
||||
G_C_STD_VERSION
|
||||
G_C_STD_CHECK_VERSION
|
||||
G_CXX_STD_VERSION
|
||||
G_CXX_STD_CHECK_VERSION
|
||||
|
||||
|
Reference in New Issue
Block a user