Skip to content

Commit

Permalink
Adjustments for WinMain on Win32/Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Feb 15, 2025
1 parent dc450d2 commit d385884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cobc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
internally disabling it for generation of libraries/executable after
first program as we only need that code once, fixing Win32 build errors
and duplication warnings in other environments
* flag.def: don't suppress the help of -fwinmain under Win32
* flag.def: don't suppress the help of -fwinmain under Win32 and Cygwin
* typeck.c (build_expr_finish): use fallback error position token, fixing
compiler aborts on broken expressions, bugs #933, #938 and #966
* typeck.c: minor refactoring within functions
Expand Down
2 changes: 1 addition & 1 deletion cobc/flag.def
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ CB_FLAG_NQ (1, "default-file-colseq", CB_FLAG_GETOPT_DEFAULT_FILE_COLSEQ,
CB_FLAG (cb_flag_sql_xfd, 1, "sql",
_(" -fsql process the XFD directives"))

#ifdef _WIN32
#if defined (_WIN32) || defined (__CYGWIN__)
#define COB_SHOW 1
#else
#define COB_SHOW 0
Expand Down

2 comments on commit d385884

@GitMensch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe that belongs to 3.x?

@ddeclerck
Copy link
Contributor Author

@ddeclerck ddeclerck commented on d385884 Feb 15, 2025 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.