X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fpicsmap.c;h=ad9a351b4504280c751ecb73e9c2fb6a964e7982;hp=2a95a75122c5d9790607fa044ef0695b0dfaec02;hb=d60228973b72d3b457e3ec2653ea5b2cb38fc0c9;hpb=e23d7db3de8b85766c7c1ccf66b738870b473da2 diff --git a/test/picsmap.c b/test/picsmap.c index 2a95a751..ad9a351b 100644 --- a/test/picsmap.c +++ b/test/picsmap.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: picsmap.c,v 1.122 2018/05/20 19:43:40 tom Exp $ + * $Id: picsmap.c,v 1.123 2018/06/16 22:55:45 tom Exp $ * * Author: Thomas E. Dickey * @@ -61,6 +61,10 @@ #if HAVE_TSEARCH #include +#if HAVE_TDESTROY && !defined(_GNU_SOURCE) +#undef HAVE_TDESTROY +#define HAVE_TDESTROY 0 +#endif #endif #undef CUR /* use only the curses interface */