Skip to content

[DEBUG] Fix DBGSOCK macro definition to work if/when DEBUG_SOCK debugging macro is defined

Narayanan Iyer requested to merge nars1/YDB:debugsock into master
  • Previously, if one uncommented the line #define DEBUG_SOCK in sr_port/iosocketdef.h and did a build, one would get a linker error saying FFLUSH is undefined. This is because the the DBGSOCK() macro invoked the DBGFPF() macro which in turn used the FFLUSH macro and assumed it is defined. This definition happens in gtmio.h so that is now included before defining DBGSOCK() macro.

Merge request reports