X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Fnc_mingw.h;fp=include%2Fnc_mingw.h;h=4fc921ee5ae8372f4aa044a2ad8a18c2eb402183;hp=a524da87124de0177eebcfc114a79af6fe156201;hb=da518a7ad2d94c8e63186a49621e907967a31a37;hpb=71c0306f0824ef2b10c4c5813fb003db48f3012e diff --git a/include/nc_mingw.h b/include/nc_mingw.h index a524da87..4fc921ee 100644 --- a/include/nc_mingw.h +++ b/include/nc_mingw.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2008,2009 Free Software Foundation, Inc. * + * Copyright (c) 2008-2009,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -31,7 +31,7 @@ * * ****************************************************************************/ -/* $Id: nc_mingw.h,v 1.1 2009/02/07 23:33:19 tom Exp $ */ +/* $Id: nc_mingw.h,v 1.2 2010/08/07 18:42:26 tom Exp $ */ #ifndef NC_MINGW_H #define NC_MINGW_H 1 @@ -56,4 +56,8 @@ extern int _nc_gettimeofday(struct timeval *, void *); #define SIGKILL 9 #define getlogin() "username" +#undef wcwidth +#define wcwidth(ucs) _nc_wcwidth(ucs) +extern int _nc_wcwidth(wchar_t); + #endif /* NC_MINGW_H */