Skip to content

Commit 3671e7e

Browse files
committed
Made some stuff compiler-specific
1 parent e9d712f commit 3671e7e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

TextView.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1712,6 +1712,8 @@ pCmdUI->Enable ();
17121712
}
17131713

17141714

1715+
#if _MSC_VER <= 1400
1716+
17151717
#define VERSION_6 MAKELONG(0, 6)
17161718

17171719
// from Worstje
@@ -1817,6 +1819,8 @@ void CTextView::WriteToArchive(CArchive& ar)
18171819
ASSERT_VALID(this);
18181820
}
18191821

1822+
#endif // _MSC_VER <= 1400
1823+
18201824
void CTextView::SerializeRaw(CArchive& ar)
18211825
// Read/Write object as stand-alone file.
18221826
{

TextView.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ class CTextView : public CEditView
5252
CString & result,
5353
int & count);
5454

55-
55+
#if _MSC_VER <= 1400
5656
virtual void Serialize(CArchive& ar);
5757
virtual void ReadFromArchive(CArchive& ar, UINT nLen);
5858
virtual void WriteToArchive(CArchive& ar);
59+
#endif // _MSC_VER <= 1400
5960

6061
// ClassWizard generated virtual function overrides
6162
//{{AFX_VIRTUAL(CTextView)

0 commit comments

Comments
 (0)