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
a76dfa58
Commit
a76dfa58
authored
13 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Update to C99 and use -Wall -pedantic
parent
5baf677b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/doors/dgnlance/GNUmakefile
+1
-1
1 addition, 1 deletion
src/doors/dgnlance/GNUmakefile
src/doors/dgnlance/xp64.h
+5
-4
5 additions, 4 deletions
src/doors/dgnlance/xp64.h
with
6 additions
and
5 deletions
src/doors/dgnlance/GNUmakefile
+
1
−
1
View file @
a76dfa58
...
...
@@ -3,7 +3,7 @@ include ${SRC_ROOT}/build/Common.gmake
# OpenDoors
LDFLAGS
+=
-L
$(
SRC_ROOT
)
/odoors/libs-
`
uname
`
CFLAGS
+=
-I
$(
SRC_ROOT
)
/odoors
CFLAGS
+=
-I
$(
SRC_ROOT
)
/odoors
-Wall
-pedantic
-std
=
c99
ifdef
STATIC
LDFLAGS
+=
-static
...
...
This diff is collapsed.
Click to expand it.
src/doors/dgnlance/xp64.h
+
5
−
4
View file @
a76dfa58
...
...
@@ -2,7 +2,8 @@
#ifdef _MSC_VER
#define INT64 __int64
#else
#define INT64 long long int
#include
<inttypes.h>
#define INT64 int64_t
#endif
#endif
...
...
@@ -13,7 +14,7 @@
#ifdef _MSC_VER
#define INT64FORMAT "I64d"
#else
#define INT64FORMAT
"lld"
#define INT64FORMAT
PRId64
#endif
#endif
#endif
...
...
@@ -22,7 +23,7 @@
#ifdef _MSC_VER
#define QWORD unsigned _int64
#else
#define QWORD u
nsigned long long in
t
#define QWORD u
int64_
t
#endif
#endif
...
...
@@ -33,7 +34,7 @@
#ifdef _MSC_VER
#define QWORDFORMAT "I64u"
#else
#define QWORDFORMAT
"llu"
#define QWORDFORMAT
PRIu64
#endif
#endif
#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