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
c8c59285
Commit
c8c59285
authored
4 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Changes necessary to build with MSVC2019.
parent
faf4e453
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/syncterm/SyncTERM.vcxproj
+1
-0
1 addition, 0 deletions
src/syncterm/SyncTERM.vcxproj
src/syncterm/amigafont.h
+20
-2
20 additions, 2 deletions
src/syncterm/amigafont.h
src/syncterm/ripper.c
+6
-1
6 additions, 1 deletion
src/syncterm/ripper.c
src/syncterm/term.c
+1
-1
1 addition, 1 deletion
src/syncterm/term.c
with
28 additions
and
4 deletions
src/syncterm/SyncTERM.vcxproj
+
1
−
0
View file @
c8c59285
...
...
@@ -123,6 +123,7 @@
<ClCompile
Include=
"ooii_cmenus.c"
/>
<ClCompile
Include=
"ooii_logons.c"
/>
<ClCompile
Include=
"ooii_sounds.c"
/>
<ClCompile
Include=
"ripper.c"
/>
<ClCompile
Include=
"rlogin.c"
/>
<ClCompile
Include=
"syncterm.c"
/>
<ClCompile
Include=
"telnet_io.c"
/>
...
...
This diff is collapsed.
Click to expand it.
src/syncterm/amigafont.h
+
20
−
2
View file @
c8c59285
...
...
@@ -36,7 +36,21 @@ struct FontList {
}
entry
[];
};
struct
FontHeader
{
#if defined(_WIN32) || defined(__BORLANDC__)
#define PRAGMA_PACK
#endif
#if defined(PRAGMA_PACK) || defined(__WATCOMC__)
#define _PACK
#else
#define _PACK __attribute__ ((packed))
#endif
#if defined(PRAGMA_PACK)
#pragma pack(push,1)
/* Disk image structures must be packed */
#endif
struct
_PACK
FontHeader
{
uint8_t
ignore
[
0x6E
];
uint16_t
height
;
uint8_t
style
;
...
...
@@ -52,6 +66,10 @@ struct FontHeader {
uint32_t
charlocOffset
;
uint32_t
fontSpaceOffset
;
uint32_t
kernOffset
;
}
__attribute__
((
packed
));
// TODO: Deal with Microsoft.
};
#if defined(PRAGMA_PACK)
#pragma pack(pop)
/* original packing */
#endif
#endif
This diff is collapsed.
Click to expand it.
src/syncterm/ripper.c
+
6
−
1
View file @
c8c59285
...
...
@@ -3,6 +3,9 @@
*/
#include <sys/stat.h>
#if defined(_MSC_VER)
#define _USE_MATH_DEFINES // for C
#endif
#include <math.h>
#include <string.h>
#include <stdbool.h>
...
...
@@ -17,7 +20,9 @@
#include <genwrap.h>
#include <sockwrap.h>
#include <strwrap.h>
#include <unistd.h>
#if defined(__unix__)
#include <unistd.h>
#endif
#include <vidmodes.h>
#include <xpbeep.h>
...
...
This diff is collapsed.
Click to expand it.
src/syncterm/term.c
+
1
−
1
View file @
c8c59285
...
...
@@ -2479,7 +2479,7 @@ BOOL doterm(struct bbslist *bbs)
#endif
int
ooii_mode
=
0
;
recv_byte_buffer_len
=
recv_byte_buffer_pos
=
0
;
struct
mouse_state
ms
=
{};
struct
mouse_state
ms
=
{
0
};
int
speedwatch
=
0
;
gettextinfo
(
&
txtinfo
);
...
...
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