mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-20 04:05:00 +08:00
cmake: detect rdtsc in CMake
This commit is contained in:
committed by
Anonymous Maarten
parent
e2f51bf38e
commit
97c3077678
@@ -585,6 +585,7 @@ typedef unsigned int uintptr_t;
|
||||
#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
|
||||
|
||||
/* Configure use of intrinsics */
|
||||
#cmakedefine SDL_DISABLE_RDTSC 1
|
||||
#cmakedefine SDL_DISABLE_SSE 1
|
||||
#cmakedefine SDL_DISABLE_SSE2 1
|
||||
#cmakedefine SDL_DISABLE_SSE3 1
|
||||
|
||||
Reference in New Issue
Block a user