X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=include%2Fnc_win32.h;h=f069d5043ef6541af341b6c47b034bcd6cb51b9b;hb=e607aef87171fae9359b0c43a04d8d932719bc71;hp=e67b8e0455064807fee8fa643b42a344c37567c4;hpb=6315e1a380ecdb706d4f6518d2e8c7eb0db8fbe2;p=ncurses.git diff --git a/include/nc_win32.h b/include/nc_win32.h index e67b8e04..f069d504 100644 --- a/include/nc_win32.h +++ b/include/nc_win32.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2020,2023 Thomas E. Dickey * + * Copyright 2018-2023,2024 Thomas E. Dickey * * Copyright 2008-2010,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -31,7 +31,7 @@ * Author: Thomas Dickey, 2008-on * ****************************************************************************/ -/* $Id: nc_win32.h,v 1.10 2023/02/25 20:09:23 tom Exp $ */ +/* $Id: nc_win32.h,v 1.12 2024/05/04 19:17:03 tom Exp $ */ #ifndef NC_WIN32_H #define NC_WIN32_H 1 @@ -73,6 +73,8 @@ #include /* for struct timeval */ #endif +#include /* for uint32_t */ + #ifdef __cplusplus extern "C" { #endif @@ -87,7 +89,7 @@ extern NCURSES_EXPORT(int) _nc_gettimeofday(struct timeval *, void *); #undef wcwidth #define wcwidth(ucs) _nc_wcwidth((wchar_t)(ucs)) -extern NCURSES_EXPORT(int) _nc_wcwidth(wchar_t); +extern NCURSES_EXPORT(int) _nc_wcwidth(uint32_t); #ifdef EVENTLIST_2nd /* test.priv.h just needs the preceding */