Skip to content

Commit

Permalink
Unconditionally include pthread.h.
Browse files Browse the repository at this point in the history
Fixes #2200.
  • Loading branch information
athas committed Dec 22, 2024
1 parent 6ef4de0 commit f4cd916
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed

* Some Windows compatibility quirks (#2200, #2201).

## [0.25.25]

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Futhark/CodeGen/Backends/MulticoreC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ compileProg version =
mempty
operations
generateBoilerplate
""
"#include <pthread.h>\n"
(DefaultSpace, [DefaultSpace])
cliOptions
)
Expand Down
2 changes: 1 addition & 1 deletion src/Futhark/CodeGen/Backends/MulticoreISPC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ compileProg version prog = do
generateBoilerplate
mapM_ compileBuiltinFun funs
)
mempty
"#include <pthread.h>\n"
(DefaultSpace, [DefaultSpace])
MC.cliOptions
)
Expand Down

0 comments on commit f4cd916

Please sign in to comment.