summaryrefslogtreecommitdiff
path: root/optmath.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-29 23:40:26 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-29 23:40:26 +0200
commitdd43a54b4c7ea0576b74c7e181183071b397ab73 (patch)
tree692249dd1baf1ef47541b323ad31d7bfc4a9cfde /optmath.h
parent44170fb9a816d5108471a3f3eb6aa92609e7a253 (diff)
added sse2 detection for optmath.h
Diffstat (limited to 'optmath.h')
-rw-r--r--optmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/optmath.h b/optmath.h
index 54271cee..74ebbb38 100644
--- a/optmath.h
+++ b/optmath.h
@@ -19,7 +19,9 @@
#ifndef __OPTMATH_H
#define __OPTMATH_H
+#ifdef __SSE2__ // that comes from -msse2
#define __FORCE_SSE2__
+#endif
// some maths
// taken from vorbis/lib/os.h, (C) 1994-2007 Xiph.Org Foundation http://www.xiph.org/