Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dasperal committed Jun 12, 2024
1 parent 54c29ea commit 4c6b7f8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
matrix:
config:
-
display_name: "WATCOM 1.9"
display_name: "WATCOM 2.0"
runner: "ubuntu-22.04"
shell: "bash"
# compiler_name: ""
watcom_version: "1.9"
watcom_version: "2.0"
cmake_preset: "ci-watcom"
# build_suffix:

Expand All @@ -35,6 +35,7 @@ jobs:
- uses: open-watcom/setup-watcom@v0
with:
version: ${{ matrix.config.watcom_version }}
tag: last

- uses: actions/checkout@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ target_link_libraries(rusdoom PRIVATE
audio_lib
)

set_target_properties(rusdoom PROPERTIES
C_STANDARD 99
C_STANDARD_REQUIRED ON
)

install(TARGETS rusdoom RUNTIME
DESTINATION .
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
Expand Down
1 change: 1 addition & 0 deletions src/p_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// set up initial state and misc. LUTs.
//

#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
Expand Down

0 comments on commit 4c6b7f8

Please sign in to comment.