Skip to content

Commit

Permalink
Update C.h
Browse files Browse the repository at this point in the history
  • Loading branch information
flagarde authored May 10, 2024
1 parent 3b9c727 commit 78dd0d6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/Khaos/C.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

#if defined(__STDC__)
#if defined(__STDC_VERSION__)
#define KHAOS_C_STANDARD_PRIVATE() (__STDC_VERSION__) /*!< defined as __STDC_VERSION__ */
#define KHAOS_C_STANDARD_PRIVATE() (__STDC_VERSION__) /* //NOSONAR */ /*!< defined as __STDC_VERSION__ */
#else
#define KHAOS_C_STANDARD_PRIVATE() KHAOS_STANDARD_C90_PRIVATE() /*!< defined as C90 */
#define KHAOS_C_STANDARD_PRIVATE() KHAOS_STANDARD_C90_PRIVATE() /* //NOSONAR */ /*!< defined as C90 */
#endif
#else
/*
Expand All @@ -34,19 +34,19 @@
* The compiler treats Microsoft extended keywords as simple identifiers, disables the other Microsoft extensions, and automatically defines the __STDC__ predefined macro for C programs.
*/
#if defined(__STDC_VERSION__)
#define KHAOS_C_STANDARD_PRIVATE() (__STDC_VERSION__) /*!< defined as __STDC_VERSION__ */
#define KHAOS_C_STANDARD_PRIVATE() (__STDC_VERSION__) /* //NOSONAR */ /*!< defined as __STDC_VERSION__ */
#else
#define KHAOS_C_STANDARD_PRIVATE() KHAOS_STANDARD_C90_PRIVATE() /*!< defined as C90 */
#define KHAOS_C_STANDARD_PRIVATE() KHAOS_STANDARD_C90_PRIVATE() /* //NOSONAR */ /*!< defined as C90 */
#endif
#endif
#endif

#if defined(__STRICT_ANSI__)
#define KHAOS_LANGUAGE_ISO_PRIVATE() (1L) /*!< 1 if strict ISO, 0 otherwise */
#define KHAOS_LANGUAGE_Extensions_PRIVATE() (0L) /*!< 0 if strict ISO, 1 otherwise */
#define KHAOS_LANGUAGE_ISO_PRIVATE() (1L) /* //NOSONAR */ /*!< 1 if strict ISO, 0 otherwise */
#define KHAOS_LANGUAGE_Extensions_PRIVATE() (0L) /* //NOSONAR */ /*!< 0 if strict ISO, 1 otherwise */
#else
#define KHAOS_LANGUAGE_ISO_PRIVATE() (0L) /*!< 1 if strict ISO, 0 otherwise */
#define KHAOS_LANGUAGE_Extensions_PRIVATE() (1L) /*!< 0 if strict ISO, 1 otherwise */
#define KHAOS_LANGUAGE_ISO_PRIVATE() (0L) /* //NOSONAR */ /*!< 1 if strict ISO, 0 otherwise */
#define KHAOS_LANGUAGE_Extensions_PRIVATE() (1L) /* //NOSONAR */ /*!< 0 if strict ISO, 1 otherwise */
#endif

#endif /* KHAOS_C_H_ */

0 comments on commit 78dd0d6

Please sign in to comment.