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
979b3194
Commit
979b3194
authored
9 years ago
by
sbbs
Browse files
Options
Downloads
Patches
Plain Diff
ifdef-out the asprintf and vasprintf prototypes when building w/non-MSVC
tools (caused build failure on redefinition of functions).
parent
53fa6004
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xpdev/xpprintf.h
+4
-1
4 additions, 1 deletion
src/xpdev/xpprintf.h
with
4 additions
and
1 deletion
src/xpdev/xpprintf.h
+
4
−
1
View file @
979b3194
...
...
@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright
2006
Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright Rob Swindell - http://www.synchro.net/copyright.html
*
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
...
...
@@ -79,8 +79,11 @@ DLLEXPORT char* DLLCALL xp_asprintf_end(char *format, size_t *endlen);
DLLEXPORT
char
*
DLLCALL
xp_asprintf
(
const
char
*
format
,
...);
DLLEXPORT
char
*
DLLCALL
xp_vasprintf
(
const
char
*
format
,
va_list
va
);
DLLEXPORT
int
DLLCALL
xp_printf_get_type
(
const
char
*
format
);
#if defined(_MSC_VER) || defined(__MSVCRT__)
DLLEXPORT
int
DLLCALL
vasprintf
(
char
**
strptr
,
char
*
format
,
va_list
va
);
DLLEXPORT
int
DLLCALL
asprintf
(
char
**
strptr
,
char
*
format
,
...);
#endif
#if defined(__cplusplus)
}
#endif
...
...
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