Skip to content

Commit af8c358

Browse files
committed
windows: fix dedicated build
1 parent 8404418 commit af8c358

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: Build
22

3-
on:
4-
push:
5-
branches:
6-
- "*"
7-
pull_request:
8-
branches:
9-
- "*"
3+
on: [push, pull_request]
104

115
jobs:
126
build-linux-i386:

.github/workflows/tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: Tests
22

3-
on:
4-
push:
5-
branches:
6-
- "*"
7-
pull_request:
8-
branches:
9-
- "*"
3+
on: [push, pull_request]
104

115
jobs:
126
tests-linux-i386:

dedicated/sys_ded.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ bool CDedicatedSteamApplication::Create( )
470470
//-----------------------------------------------------------------------------
471471
int main(int argc, char **argv)
472472
{
473-
#ifndef POSIX
473+
#if !defined( POSIX ) && !defined( PLATFORM_64BITS )
474474
_asm
475475
{
476476
fninit

wscript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ def configure(conf):
394394
'/Zc:forScope',
395395
'/Zc:wchar_t',
396396
'/GR',
397-
'/TP'
397+
'/TP',
398+
'/EHsc'
398399
]
399400

400401
if conf.options.BUILD_TYPE == 'debug':

0 commit comments

Comments
 (0)