- Timestamp:
- 06/02/04 17:00:23 (21 years ago)
- Location:
- ps/trunk/source/lib
- Files:
-
- 2 edited
-
config.h (modified) (2 diffs)
-
memcpy.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/lib/config.h
r346 r347 14 14 15 15 16 // HAVE_C99: check if compiler advertises support for C99 17 // (make sure it's #defined before testing value to avoid ICC warning) 18 #undef HAVE_C99 19 #ifdef __STDC_VERSION__ 20 # if __STDC_VERSION__ >= 199901L 21 # define HAVE_C99 22 # endif 23 #endif 16 #undef HAVE_C99 // compiler advertises support for C99 17 18 #undef HAVE_ASM 24 19 25 20 #undef HAVE_GETTIMEOFDAY 26 21 #undef HAVE_X 22 23 #undef CONFIG_DISABLE_EXCEPTIONS 24 25 26 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 27 # define HAVE_C99 28 #endif 29 30 #ifdef _MSC_VER 31 # define HAVE_ASM 32 #endif 27 33 28 34 #ifdef OS_UNIX … … 34 40 #endif 35 41 36 #undef CONFIG_DISABLE_EXCEPTIONS 42 -
ps/trunk/source/lib/memcpy.cpp
r221 r347 6 6 7 7 #include "precompiled.h" 8 #include "config.h" 8 9 9 #if _MSC_VER >= 0x130010 #ifdef HAVE_ASM 10 11 11 12 void memcpy_nt(void* dst, void* src, int len) … … 30 31 mov eax, [esi-128] 31 32 sub esi, 128 32 test esi, 4095 ; CHUNK_SIZE-1 (icc doesn 't preprocess asm)33 test esi, 4095 ; CHUNK_SIZE-1 (icc doesnt preprocess asm) 33 34 jnz prefetch_loop 34 35 … … 67 68 } 68 69 69 #endif // #if _MSC_VER >= 0x130070 #endif // #ifdef HAVE_ASM
Note:
See TracChangeset
for help on using the changeset viewer.
