summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-01 23:11:55 -0500
committerpommicket <pommicket@gmail.com>2023-01-01 23:11:55 -0500
commit850ab378946e8d6f0818b4ccf8eee413f68dcb95 (patch)
tree579230cbcf4f6f4a4a00504178ea6ca1b7d5ab8f /main.c
parent3ee947ced94ce24463838e0c587cb076ac81ec98 (diff)
start os.h merging
Diffstat (limited to 'main.c')
-rw-r--r--main.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/main.c b/main.c
index 9ae5b68..72a9ff7 100644
--- a/main.c
+++ b/main.c
@@ -7,6 +7,7 @@
- check LSP process status (TEST: what happens if LSP server is not installed)
- make tags_dir the root folder
- check that tags still works
+- do we need higher than 1-second resolution in time_last_modified on windows?
- TESTING: make rust-analyzer-slow (waits 10s before sending response)
- TESTING: check all IDE features with different servers
- run everything through valgrind ideally with leak checking
@@ -89,22 +90,15 @@ no_warn_end
#include "util.c"
#if _WIN32
-#include "filesystem-win.c"
-#elif __unix__
-#include "filesystem-posix.c"
-#else
-#error "Unrecognized operating system."
-#endif
-
-#if _WIN32
+#include "os-win.c"
#include "process-win.c"
#elif __unix__
+#include "os-posix.c"
#include "process-posix.c"
#else
#error "Unrecognized operating system."
#endif
-#include "time.c"
#include "ted.h"
#include "gl.c"
#include "text.c"