1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

I'm an idiot. I put ifndef __darwin__ when I meant ifdef. Works on linux now with minimal CPU.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1070 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2010-07-11 20:23:34 +00:00 committed by peabody124
parent ae4a52e0ed
commit 9ff624bc0f

View File

@ -76,18 +76,19 @@
#define MAX_NUMBER_OF_TASKS ( _POSIX_THREAD_THREADS_MAX )
/*-----------------------------------------------------------*/
#ifndef __DARWIN__
#ifdef __DARWIN__
#define COND_SIGNALING
#define CHECK_TASK_RESUMES
#define RUNNING_THREAD_MUTEX
#define TICK_SIGNAL
#error Here
#endif
#ifdef __CYGWIN__
#define COND_SIGNALING
#define CHECK_TASK_RESUMES
#error Here too
#endif
#ifdef linux
#define COND_SIGNALING
#ifdef __linux__
#define CHECK_TASK_RESUMES
#define RUNNING_THREAD_MUTEX
#endif