diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-11-13 17:59:52 +0100 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-11-13 18:01:04 +0100 |
commit | f115b0cf1b23baf18aa56866aa7f15d5a5991c37 (patch) | |
tree | c88aed765bba026f23c9990bd9b51a24a7f214d3 | |
parent | 38357ee010e9f22bc00080e603880cf82c74da48 (diff) |
underscores are reserved
Change-Id: Iee60389ccc9e348db6ed00e48e32b1e86f17b530
-rw-r--r-- | include/tools/cpuid.hxx | 4 | ||||
-rw-r--r-- | sc/source/core/inc/arraysumfunctor.hxx | 4 | ||||
-rw-r--r-- | tools/source/misc/cpuid.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/tools/cpuid.hxx b/include/tools/cpuid.hxx index 348724e024dd..f058f23fb727 100644 --- a/include/tools/cpuid.hxx +++ b/include/tools/cpuid.hxx @@ -15,9 +15,9 @@ #include <tools/toolsdllapi.h> #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && defined(__SSE2__) -#define __LO_SSE2_AVAILABLE__ 1 +#define LO_SSE2_AVAILABLE 1 #elif defined(_MSC_VER) && (defined(_M_AMD64) || (defined(_M_IX86) && defined(_M_IX86_FP) && _M_IX86_FP >= 2)) -#define __LO_SSE2_AVAILABLE__ 1 +#define LO_SSE2_AVAILABLE 1 #endif namespace tools diff --git a/sc/source/core/inc/arraysumfunctor.hxx b/sc/source/core/inc/arraysumfunctor.hxx index 34ccd81aad5b..e9ef4041cde6 100644 --- a/sc/source/core/inc/arraysumfunctor.hxx +++ b/sc/source/core/inc/arraysumfunctor.hxx @@ -13,7 +13,7 @@ #include <tools/cpuid.hxx> -#if defined(__LO_SSE2_AVAILABLE__) +#if defined(LO_SSE2_AVAILABLE) #include <emmintrin.h> #endif @@ -70,7 +70,7 @@ public: private: inline double executeSSE2(size_t& i, const double* pCurrent) const { -#if defined(__LO_SSE2_AVAILABLE__) +#if defined(LO_SSE2_AVAILABLE) double fSum = 0.0; size_t nRealSize = mnSize - i; size_t nUnrolledSize = nRealSize - (nRealSize % 8); diff --git a/tools/source/misc/cpuid.cxx b/tools/source/misc/cpuid.cxx index 5e052fbbc166..9cdc4995dbce 100644 --- a/tools/source/misc/cpuid.cxx +++ b/tools/source/misc/cpuid.cxx @@ -16,7 +16,7 @@ namespace tools namespace cpuid { -#if defined(__LO_SSE2_AVAILABLE__) +#if defined(LO_SSE2_AVAILABLE) namespace { |