X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=c%2B%2B%2Fcursesapp.h;h=9d7b8a3958c2dbbd7b0f96848e331db6c29b859c;hp=0c4010a9e4f62395a4840adafe8d752664b52b12;hb=HEAD;hpb=cf6a62567b2365c8678b7d561845bdbd1739e5da diff --git a/c++/cursesapp.h b/c++/cursesapp.h index 0c4010a9..1296f374 100644 --- a/c++/cursesapp.h +++ b/c++/cursesapp.h @@ -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 * @@ -32,14 +32,14 @@ * 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 -#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 */