Skip to content

Commit bba2a4e

Browse files
author
ddeclerck
committed
Display the help text of -fwinmain on both Win32 and Cygwin
1 parent 8a7c349 commit bba2a4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cobc/ChangeLog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
internally disabling it for generation of libraries/executable after
153153
first program as we only need that code once, fixing Win32 build errors
154154
and duplication warnings in other environments
155-
* flag.def: don't suppress the help of -fwinmain under Win32
155+
* flag.def: don't suppress the help of -fwinmain under Win32 and Cygwin
156156
* typeck.c (build_expr_finish): use fallback error position token, fixing
157157
compiler aborts on broken expressions, bugs #933, #938 and #966
158158
* typeck.c: minor refactoring within functions

cobc/flag.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ CB_FLAG_NQ (1, "default-file-colseq", CB_FLAG_GETOPT_DEFAULT_FILE_COLSEQ,
109109
" * default: NATIVE"))
110110

111111
/* Binary flags, partially with suppressed help */
112-
#ifdef _WIN32
112+
#if defined (_WIN32) || defined (__CYGWIN__)
113113
#define COB_SHOW 1
114114
#else
115115
#define COB_SHOW 0

0 commit comments

Comments
 (0)