mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r4218) - Codechange: Try to make the rdtsc() not present warning message a bit more clear
This commit is contained in:
parent
92c4d26a26
commit
f4b492fa1e
|
@ -65,6 +65,6 @@ uint64 _rdtsc(void)
|
|||
/* In all other cases we have no support for rdtsc. No major issue,
|
||||
* you just won't be able to profile your code with TIC()/TOC() */
|
||||
#if !defined(RDTSC_AVAILABLE)
|
||||
#warning "OS has no support for rdtsc()"
|
||||
#warning "(non-fatal) No support for rdtsc(), you won't be able to profile with TIC/TOC"
|
||||
uint64 _rdtsc(void) {return 0;}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue