1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-12-27 05:10:06 +00:00

fixed laikaT_newTask, check for MacOS

This commit is contained in:
CPunch 2022-03-14 00:58:58 -05:00
parent 2cf7ab52ab
commit 7a000c1caa
2 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,9 @@ add_subdirectory(tools)
# these subprojects don't support windows (sorry)
if(NOT WIN32)
add_subdirectory(bot) # windows support Soon:tm:
add_subdirectory(cnc)
add_subdirectory(shell)
if(NOT APPLE)
add_subdirectory(bot) # windows support Soon:tm:
endif()
endif()

View File

@ -74,6 +74,7 @@ struct sLaika_task *laikaT_newTask(struct sLaika_taskService *service, int delta
task->next = NULL;
scheduleTask(service, task);
return task;
}
void laikaT_delTask(struct sLaika_taskService *service, struct sLaika_task *task) {