mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-08 21:58:54 +00:00
tpm2: Fix typo in __GNUC_MINOR__ preprocessor symbol
Fix typo in the __GNUC_MINOR__ preprocessor symbol. This change is unlikely to have any impact since it was used for comparions for gcc version 4.2, which is not in use anymore by now. Resolves: https://github.com/stefanberger/libtpms/issues/289 Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
aeb7af78a9
commit
26e0eea093
@ -128,7 +128,7 @@
|
||||
#endif
|
||||
# define __pragma(x)
|
||||
/* libtpms added begin */
|
||||
# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR >= 2)
|
||||
# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
|
||||
# define REVERSE_ENDIAN_16(_Number) __builtin_bswap16(_Number)
|
||||
# define REVERSE_ENDIAN_32(_Number) __builtin_bswap32(_Number)
|
||||
# define REVERSE_ENDIAN_64(_Number) __builtin_bswap64(_Number)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user