summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/alignof.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/if/alignof.yml')
-rw-r--r--spec/rtems/basedefs/if/alignof.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/rtems/basedefs/if/alignof.yml b/spec/rtems/basedefs/if/alignof.yml
index e9299228..c0011137 100644
--- a/spec/rtems/basedefs/if/alignof.yml
+++ b/spec/rtems/basedefs/if/alignof.yml
@@ -18,7 +18,9 @@ definition:
params: []
return: null
enabled-by:
- - ${/compiler/if/cplusplus:/name} >= 201103L
+ and:
+ - defined( ${/compiler/if/cplusplus:/name} )
+ - ${/compiler/if/cplusplus:/name} >= 201103L
- definition:
attributes: null
body: |
@@ -26,7 +28,9 @@ definition:
params: []
return: null
enabled-by:
- - ${/compiler/if/stdc-version:/name} >= 201112L
+ and:
+ - defined( ${/compiler/if/stdc-version:/name} )
+ - ${/compiler/if/stdc-version:/name} >= 201112L
description: null
enabled-by: true
index-entries: []