Rev | Line | |
---|
[981e22c] | 1 | /********************************************************************* |
---|
| 2 | Blosc - Blocked Shuffling and Compression Library |
---|
| 3 | |
---|
| 4 | Author: Francesc Alted <[email protected]> |
---|
| 5 | |
---|
| 6 | See LICENSES/BLOSC.txt for details about copyright and rights to use. |
---|
| 7 | **********************************************************************/ |
---|
| 8 | |
---|
| 9 | #ifndef SHUFFLE_COMMON_H |
---|
| 10 | #define SHUFFLE_COMMON_H |
---|
| 11 | |
---|
| 12 | #include "blosc-export.h" |
---|
| 13 | |
---|
| 14 | /* Define the __SSE2__ symbol if compiling with Visual C++ and |
---|
| 15 | targeting the minimum architecture level supporting SSE2. |
---|
| 16 | Other compilers define this as expected and emit warnings |
---|
| 17 | when it is re-defined. */ |
---|
| 18 | #if !defined(__SSE2__) && defined(_MSC_VER) && \ |
---|
| 19 | (defined(_M_X64) || (defined(_M_IX86) && _M_IX86_FP >= 2)) |
---|
| 20 | #define __SSE2__ |
---|
| 21 | #endif |
---|
| 22 | |
---|
| 23 | /* Import standard integer type definitions */ |
---|
| 24 | #if defined(_WIN32) && !defined(__MINGW32__) |
---|
| 25 | #include <windows.h> |
---|
| 26 | #include "win32/stdint-windows.h" |
---|
| 27 | #else |
---|
| 28 | #include <stdint.h> |
---|
| 29 | #include <stddef.h> |
---|
| 30 | #include <inttypes.h> |
---|
| 31 | #include <string.h> |
---|
| 32 | #endif /* _WIN32 */ |
---|
| 33 | |
---|
| 34 | #endif /* SHUFFLE_COMMON_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.