mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-21 12:40:04 +00:00
fixed laikaT_newTask, check for MacOS
This commit is contained in:
parent
2cf7ab52ab
commit
7a000c1caa
@ -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()
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user