Remove unnecessary ifdef before undef. (#32417)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 17 Feb 2020 13:01:37 +0000 (08:01 -0500)
committerGitHub <noreply@github.com>
Mon, 17 Feb 2020 13:01:37 +0000 (14:01 +0100)
#undef never needs an ifdef guard, it works unconditionally without warning.

Co-authored-by: Jay Krell <jay.krell@cornell.edu>
src/mono/winconfig.h

index 5e43ceeafa3bd8acf15fa4eaca727606774f6c4e..b145dcb5415b405f0ef5671f8fc0e4ec59e61a0e 100644 (file)
 /* @ENABLE_DEFINES@ */
 /* End configure ENABLE_DEFINES picked up from cygconfig.h or other external source, if available */
 
-#if defined(ENABLE_HYBRID_SUSPEND)
 /* Windows MSVC builds defaults to preemptive suspend. Disable ENABLE_HYBRID_SUSPEND defines. */
 #undef ENABLE_HYBRID_SUSPEND
-#endif
 
 /* No ENABLE_DEFINES below this point */