mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID:426 - Include wchar.h instead of defining wchar_t ourselves
Fixes a compilation error with musl libc
This commit is contained in:
parent
f3f4361568
commit
aeba39bffc
@ -46,10 +46,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#endif
|
#endif
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
/* WIN32 defines this in stdio.h */
|
/* WIN32 defines this in stdio.h */
|
||||||
#ifndef _WCHAR_T
|
#include <wchar.h>
|
||||||
#define _WCHAR_T
|
|
||||||
typedef long wchar_t;
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
#define far
|
#define far
|
||||||
#define near
|
#define near
|
||||||
|
Loading…
x
Reference in New Issue
Block a user