Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
4f3f3f67
Commit
4f3f3f67
authored
2 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Borland C/C++ doesn't have strto[u]ll()
parent
c7eb313c
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#3549
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xpdev/ini_file.c
+4
-0
4 additions, 0 deletions
src/xpdev/ini_file.c
with
4 additions
and
0 deletions
src/xpdev/ini_file.c
+
4
−
0
View file @
4f3f3f67
...
...
@@ -1655,6 +1655,7 @@ static ulong parseULongInteger(const char* value)
return
(
strtoul
(
value
,
NULL
,
0
));
}
#if !defined __BORLANDC__
static
int64_t
parseInt64
(
const
char
*
value
)
{
if
(
isTrue
(
value
))
...
...
@@ -1670,6 +1671,7 @@ static uint64_t parseUInt64(const char* value)
return
strtoull
(
value
,
NULL
,
0
);
}
#endif
static
BOOL
parseBool
(
const
char
*
value
)
{
...
...
@@ -1817,6 +1819,7 @@ ulong iniGetULongInt(str_list_t list, const char* section, const char* key, ulon
return
(
parseULongInteger
(
vp
));
}
#if !defined __BORLANDC__
int64_t
iniReadInt64
(
FILE
*
fp
,
const
char
*
section
,
const
char
*
key
,
int64_t
deflt
)
{
char
*
value
;
...
...
@@ -1868,6 +1871,7 @@ uint64_t iniGetUInt64(str_list_t list, const char* section, const char* key, uin
return
parseUInt64
(
vp
);
}
#endif
int64_t
iniReadBytes
(
FILE
*
fp
,
const
char
*
section
,
const
char
*
key
,
uint
unit
,
int64_t
deflt
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment