Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/simpleini.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrodie Thiesfield <brofield@gmail.com>2009-06-30 12:48:37 +0400
committerBrodie Thiesfield <brofield@gmail.com>2009-06-30 12:48:37 +0400
commitf0522408948a41fe026d59a4a538c551d300d849 (patch)
treecfd1db0a80fa46e3dc7dbee7180e3f767a573d48 /SimpleIni.h
parent64e0f2bc64575753c8855c95c3457942b5bcf266 (diff)
add support for Borland C. version 4.11
Diffstat (limited to 'SimpleIni.h')
-rw-r--r--SimpleIni.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/SimpleIni.h b/SimpleIni.h
index 5b436b9..a2c9fc4 100644
--- a/SimpleIni.h
+++ b/SimpleIni.h
@@ -5,7 +5,7 @@
<tr><th>File <td>SimpleIni.h
<tr><th>Author <td>Brodie Thiesfield [code at jellycan dot com]
<tr><th>Source <td>http://code.jellycan.com/simpleini/
- <tr><th>Version <td>4.10
+ <tr><th>Version <td>4.11
</table>
Jump to the @link CSimpleIniTempl CSimpleIni @endlink interface documentation.
@@ -2234,6 +2234,8 @@ CSimpleIniTempl<SI_CHAR,SI_STRLESS,SI_CONVERTER>::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<SI_CHAR,SI_STRLESS,SI_CONVERTER>::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