Fixing and/or investigating Cygwin issues

This commit is contained in:
Andrew Johnson
2015-05-01 11:38:54 -05:00
parent f384232864
commit 2f6fad0cc3
2 changed files with 9 additions and 1 deletions
@@ -12,3 +12,11 @@
# Uncomment the following line if readline has problems
#LDLIBS_READLINE = -lreadline -lcurses
# It makes sense to include debugging symbols even in optimized builds
# in case you want to attach gdb to the process or examine a core-dump.
# This does cost disk space, but not memory as debug symbols are not
# loaded into RAM when the binary is loaded.
OPT_CFLAGS_YES += -g
OPT_CXXFLAGS_YES += -g
@@ -19,7 +19,7 @@
enum epicsSocketSystemCallInterruptMechanismQueryInfo
epicsSocketSystemCallInterruptMechanismQuery ()
{
#if (CYGWIN_VERSION_DLL_MAJOR >= 1007) && (CYGWIN_VERSION_DLL_MINOR < 15)
#if (CYGWIN_VERSION_DLL_MAJOR == 1007) && (CYGWIN_VERSION_DLL_MINOR < 15)
// Behaviour changed in early Cygwin 1.7 releases, reverted later.
return esscimqi_socketCloseRequired;
#else