Skip to content

Commit

Permalink
Clean up CI and update OS check in elapsed module
Browse files Browse the repository at this point in the history
- Removed redundant deploy workflow file from .github/workflows/deploy.yml 🗑️
- Updated POSIX OS define to ATHR_OS_UNIX in athr_elapsed.c 🔄

The deployment workflow was redundant and not used in the current CI process,
so it was removed to simplify maintenance. The POSIX OS check was updated
for clarity and consistency with the rest of the codebase.
  • Loading branch information
horta committed Nov 7, 2024
1 parent 5359d37 commit fee0bb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/deploy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion athr_elapsed.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#error "C11 or a more recent version is required"
#endif

#if defined(POSIX_OS)
#if ATHR_OS == ATHR_OS_UNIX
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200809L
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
Expand Down

0 comments on commit fee0bb2

Please sign in to comment.