Skip to content

Commit

Permalink
Fix some Linux-dependent code
Browse files Browse the repository at this point in the history
Signed-off-by: yamacir-kit <[email protected]>
  • Loading branch information
yamacir-kit committed Sep 1, 2024
1 parent 6179fbb commit 0264b68
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Procedures for each standard are provided by the following R7RS-style libraries:
cmake -B build -DCMAKE_BUILD_TYPE=Release
cd build
make package
sudo apt install build/meevax_0.5.229_amd64.deb
sudo apt install build/meevax_0.5.230_amd64.deb
```

or
Expand Down Expand Up @@ -122,9 +122,9 @@ sudo rm -rf /usr/local/share/meevax

| Target Name | Description
|-------------|-------------
| `all` | Build shared-library `libmeevax.0.5.229.so` and executable `meevax`
| `all` | Build shared-library `libmeevax.0.5.230.so` and executable `meevax`
| `test` | Test executable `meevax`
| `package` | Generate debian package `meevax_0.5.229_amd64.deb`
| `package` | Generate debian package `meevax_0.5.230_amd64.deb`
| `install` | Copy files into `/usr/local` directly

## Usage
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.229
0.5.230
6 changes: 2 additions & 4 deletions include/meevax/kernel/library.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#ifndef INCLUDED_MEEVAX_KERNEL_LIBRARY_HPP
#define INCLUDED_MEEVAX_KERNEL_LIBRARY_HPP

#include <map>

#include <meevax/kernel/environment.hpp>
#include <meevax/kernel/interaction_environment.hpp>

Expand Down Expand Up @@ -60,10 +62,6 @@ inline namespace kernel

auto operator <<(std::ostream &, library const&) -> std::ostream &;

/*
In order to improve the usability of the help procedure, it is desirable
to sort by library name in lexicographical order.
*/
auto libraries() -> std::map<std::string, library> &;

template <typename T, typename... Ts>
Expand Down
2 changes: 1 addition & 1 deletion include/meevax/memory/allocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ inline namespace memory
template <typename T, typename Capacity = std::integral_constant<std::size_t, 1024>>
class allocator
{
struct alignas(T) chunk
struct chunk
{
chunk * tail;
};
Expand Down
2 changes: 2 additions & 0 deletions src/kernel/boot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include <meevax/kernel/standard_output_port.hpp>
#include <meevax/kernel/vector.hpp>

extern char ** environ; // for procedure get-environment-variables

namespace meevax
{
inline namespace kernel
Expand Down

0 comments on commit 0264b68

Please sign in to comment.