Bug #56499: unreadable /etc/localtime should not cause an exception (#4881)
[mono.git] / mcs / class / corlib / System / TermInfoStrings.cs
index 9567a79c3ee0121542ba695711291a5f8921a330..728e78cc19e26ed8e7903f6c740ec97061ae2fea 100644 (file)
@@ -27,7 +27,7 @@
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-#if NET_2_0
+#if MONO_FEATURE_CONSOLE
 
 // These values are taken from 'man 5 terminfo' and /usr/include/term.h.
 // They are the indexes for the string capabilities in a terminfo file.