lcp / mokutil

The utility to manipulate machine owner keys
GNU General Public License v3.0
60 stars 37 forks source link

Avoid conflicting efi_char16_t type definitions #67

Closed lcp closed 1 year ago

lcp commented 1 year ago

It's not necessary to define 'efi_char16_t' as 'wchar_t' since we don't need any wchar functions. Besides, it may conflict with efivar-38. This commit defines 'efi_char16_t' as 'uint16_t' and adds the conditional check to avoid the potential conflict.

Fixes: https://github.com/lcp/mokutil/issues/66