ap.h | ap.h | |||
---|---|---|---|---|
skipping to change at line 89 | skipping to change at line 89 | |||
#endif | #endif | |||
/* now we are ready to include headers */ | /* now we are ready to include headers */ | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <string.h> | #include <string.h> | |||
#include <setjmp.h> | #include <setjmp.h> | |||
#include <math.h> | #include <math.h> | |||
#include <stddef.h> | #include <stddef.h> | |||
#if AE_OS==AE_WINDOWS | ||||
#include <windows.h> | ||||
#include <process.h> | ||||
#elif AE_OS==AE_POSIX | ||||
#include <time.h> | ||||
#include <unistd.h> | ||||
#include <pthread.h> | ||||
#include <sched.h> | ||||
#endif | ||||
#if defined(AE_HAVE_STDINT) | #if defined(AE_HAVE_STDINT) | |||
#include <stdint.h> | #include <stdint.h> | |||
#endif | #endif | |||
/* | /* | |||
* SSE2 intrinsics | * SSE2 intrinsics | |||
* | * | |||
* Preprocessor directives below: | * Preprocessor directives below: | |||
* - include headers for SSE2 intrinsics | * - include headers for SSE2 intrinsics | |||
* - define AE_HAS_SSE2_INTRINSICS definition | * - define AE_HAS_SSE2_INTRINSICS definition | |||
skipping to change at line 138 | skipping to change at line 128 | |||
#define AE_HAS_SSE2_INTRINSICS | #define AE_HAS_SSE2_INTRINSICS | |||
#endif | #endif | |||
#if AE_COMPILER==AE_SUNC | #if AE_COMPILER==AE_SUNC | |||
#include <xmmintrin.h> | #include <xmmintrin.h> | |||
#include <emmintrin.h> | #include <emmintrin.h> | |||
#define AE_HAS_SSE2_INTRINSICS | #define AE_HAS_SSE2_INTRINSICS | |||
#endif | #endif | |||
#endif | #endif | |||
#endif | #endif | |||
/* Debugging helpers for Windows */ | ||||
#ifdef AE_DEBUG4WINDOWS | ||||
#include <windows.h> | ||||
#include <stdio.h> | ||||
#endif | ||||
///////////////////////////////////////////////////////////////////////// | ///////////////////////////////////////////////////////////////////////// | |||
// | // | |||
// THIS SECTION CONTAINS DECLARATIONS FOR BASIC FUNCTIONALITY | // THIS SECTION CONTAINS DECLARATIONS FOR BASIC FUNCTIONALITY | |||
// LIKE MEMORY MANAGEMENT FOR VECTORS/MATRICES WHICH IS SHARED | // LIKE MEMORY MANAGEMENT FOR VECTORS/MATRICES WHICH IS SHARED | |||
// BETWEEN C++ AND PURE C LIBRARIES | // BETWEEN C++ AND PURE C LIBRARIES | |||
// | // | |||
///////////////////////////////////////////////////////////////////////// | ///////////////////////////////////////////////////////////////////////// | |||
namespace alglib_impl | namespace alglib_impl | |||
{ | { | |||
End of changes. 2 change blocks. | ||||
16 lines changed or deleted | 0 lines changed or added | |||