]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - c++/cursesapp.h
ncurses 6.4 - patch 20240420
[ncurses.git] / c++ / cursesapp.h
index 0c4010a9e4f62395a4840adafe8d752664b52b12..1296f374e984b37defad524b4444652830d16dd8 100644 (file)
@@ -1,6 +1,6 @@
 // * This makes emacs happy -*-Mode: C++;-*-
 /****************************************************************************
- * Copyright 2019,2020 Thomas E. Dickey                                     *
+ * Copyright 2019-2020,2021 Thomas E. Dickey                                *
  * Copyright 1998-2005,2011 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  *   Author: Juergen Pfeifer, 1997                                          *
  ****************************************************************************/
 
-// $Id: cursesapp.h,v 1.16 2020/07/18 19:57:11 anonymous.maarten Exp $
+// $Id: cursesapp.h,v 1.18 2021/06/17 21:26:02 tom Exp $
 
 #ifndef NCURSES_CURSESAPP_H_incl
 #define NCURSES_CURSESAPP_H_incl
 
 #include <cursslk.h>
 
-#ifdef _WIN32
+#if (defined(_WIN32) || defined(_WIN64))
 # define NCURSES_CXX_MAIN_NAME cursespp_main
 # define NCURSES_CXX_MAIN \
   int main(int argc, char *argv[]) { \
@@ -187,5 +187,5 @@ public:
   }
 
 };
+
 #endif /* NCURSES_CURSESAPP_H_incl */