From f0522408948a41fe026d59a4a538c551d300d849 Mon Sep 17 00:00:00 2001 From: Brodie Thiesfield Date: Tue, 30 Jun 2009 08:48:37 +0000 Subject: add support for Borland C. version 4.11 --- SimpleIni.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'SimpleIni.h') diff --git a/SimpleIni.h b/SimpleIni.h index 5b436b9..a2c9fc4 100644 --- a/SimpleIni.h +++ b/SimpleIni.h @@ -5,7 +5,7 @@ File SimpleIni.h Author Brodie Thiesfield [code at jellycan dot com] Source http://code.jellycan.com/simpleini/ - Version 4.10 + Version 4.11 Jump to the @link CSimpleIniTempl CSimpleIni @endlink interface documentation. @@ -2234,6 +2234,8 @@ CSimpleIniTempl::Save( GetAllSections(oSections); #if defined(_MSC_VER) && _MSC_VER <= 1200 oSections.sort(); +#elif defined(__BORLANDC__) + oSections.sort(Entry::LoadOrder()); #else oSections.sort(typename Entry::LoadOrder()); #endif @@ -2284,6 +2286,8 @@ CSimpleIniTempl::Save( GetAllKeys(iSection->pItem, oKeys); #if defined(_MSC_VER) && _MSC_VER <= 1200 oKeys.sort(); +#elif defined(__BORLANDC__) + oKeys.sort(Entry::LoadOrder()); #else oKeys.sort(typename Entry::LoadOrder()); #endif -- cgit v1.2.3