echo "version=$version"
echo "prefix=$prefix"
echo "bindir=$prefix/bin"
+ echo "targetos=$targetos"
[ "$mmx" = "true" ] &&
echo "MMX_FLAGS=-DUSE_MMX"
case $targetos in
Darwin)
- echo "CFLAGS+=-DDARWIN"
+ echo "CFLAGS+=-D__DARWIN__"
echo "SHFLAGS=-dynamiclib"
;;
Linux)
// Use realtime scheduling if possible
memset( &scp, '\0', sizeof( scp ) );
scp.sched_priority = sched_get_priority_max( SCHED_FIFO ) - 1;
-#ifndef DARWIN
+#ifndef __DARWIN__
sched_setscheduler( 0, SCHED_FIFO, &scp );
#endif
// Use realtime scheduling if possible
memset( &scp, '\0', sizeof( scp ) );
scp.sched_priority = sched_get_priority_max( SCHED_FIFO ) - 1;
-#ifndef DARWIN
+#ifndef __DARWIN__
sched_setscheduler( 0, SCHED_FIFO, &scp );
#endif
// Use realtime scheduling if possible
memset( &scp, '\0', sizeof( scp ) );
scp.sched_priority = sched_get_priority_max( SCHED_FIFO ) - 1;
-#ifndef DARWIN
+#ifndef __DARWIN__
sched_setscheduler( 0, SCHED_FIFO, &scp );
#endif