Make it work with flake.nix
This commit is contained in:
+1
-1
@@ -36,6 +36,7 @@ extern "C" {
|
||||
#include <map>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <poll.h>
|
||||
#include <queue>
|
||||
#include <set>
|
||||
#include <shared_mutex>
|
||||
@@ -44,7 +45,6 @@ extern "C" {
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/poll.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <termios.h>
|
||||
|
||||
+767
-758
File diff suppressed because it is too large
Load Diff
@@ -124,6 +124,7 @@ extern std::unordered_map<std::string, LSP> lsps;
|
||||
#define ABS(x) ((x) < 0 ? -(x) : (x))
|
||||
#define UNUSED(x) (void)(x)
|
||||
#define USING(x) UNUSED(sizeof(x))
|
||||
#define CTRL(x) ((x) & 0x1f)
|
||||
|
||||
inline uint32_t HEX(const std::string &s) {
|
||||
if (s.empty())
|
||||
|
||||
Reference in New Issue
Block a user