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
7bd9bcf3
Commit
7bd9bcf3
authored
22 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Switched from #warning to #error (Borland compatible).
Removed stricmp macros for Borland Unix build.
parent
b91e2800
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xpdev/genwrap.h
+3
-4
3 additions, 4 deletions
src/xpdev/genwrap.h
with
3 additions
and
4 deletions
src/xpdev/genwrap.h
+
3
−
4
View file @
7bd9bcf3
...
...
@@ -97,8 +97,7 @@ extern "C" {
#elif defined(__unix__)
#define PLATFORM_DESC "Unix"
#else
#warning "Need to describe target platform"
#define PLATFORM_DESC "UNKNOWN"
#error "Need to describe target platform"
#endif
/*********************/
...
...
@@ -118,7 +117,7 @@ extern "C" {
DLLEXPORT
char
*
DLLCALL
strupr
(
char
*
str
);
DLLEXPORT
char
*
DLLCALL
strlwr
(
char
*
str
);
DLLEXPORT
char
*
DLLCALL
strrev
(
char
*
str
);
#if !defined(stricmp)
#if
!defined(__BORLANDC__) &&
!defined(stricmp)
#define stricmp(x,y) strcasecmp(x,y)
#define strnicmp(x,y,z) strncasecmp(x,y,z)
#endif
...
...
@@ -146,7 +145,7 @@ extern "C" {
#else
/* Unsupported OS */
#
warning
"Unsupported Target: Need some macros and/or function prototypes here."
#
error
"Unsupported Target: Need some macros and/or function prototypes here."
#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