]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - c++/demo.cc
ncurses 6.4 - patch 20230708
[ncurses.git] / c++ / demo.cc
index 195e98a0d6de9bcc44d190ef2d870e307a6ae138..e184e954f57b96fdbf36a19306ebdf75bd106b69 100644 (file)
@@ -1,6 +1,6 @@
 // * This makes emacs happy -*-Mode: C++;-*-
 /****************************************************************************
- * Copyright 2018-2020,2021 Thomas E. Dickey                                *
+ * Copyright 2018-2021,2023 Thomas E. Dickey                                *
  * Copyright 1998-2012,2017 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -36,7 +36,7 @@
  *   Demo code for NCursesMenu and NCursesForm written by
  *   Juergen Pfeifer
  *
- * $Id: demo.cc,v 1.50 2021/09/04 10:52:55 tom Exp $
+ * $Id: demo.cc,v 1.51 2023/07/08 12:46:45 tom Exp $
  */
 
 #include "internal.h"
@@ -46,6 +46,7 @@
 
 #if (defined(_WIN32) || defined(_WIN64))
 #undef KEY_EVENT
+#undef sleep
 #define sleep(n) Sleep(n)
 #else
 extern "C" unsigned int sleep(unsigned int);