diff options
Diffstat (limited to 'probe/HAVE___BUILTIN_BSWAP16')
| -rw-r--r-- | probe/HAVE___BUILTIN_BSWAP16 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/probe/HAVE___BUILTIN_BSWAP16 b/probe/HAVE___BUILTIN_BSWAP16 new file mode 100644 index 00000000..7afd2481 --- /dev/null +++ b/probe/HAVE___BUILTIN_BSWAP16 @@ -0,0 +1,4 @@ +unsigned x = 0xff; +int main(void) { + return __builtin_bswap16(x) & 0xff; +} |
