due to some printlog calls being left in MMU, non-windows builds wouldnt compile. as a temporary measure, printlog defines to nothing in other platforms for now. we need to make more formalized cross-platform logging though.
This commit is contained in:
parent
98095354d0
commit
bd398a715b
|
@ -186,7 +186,7 @@ typedef int desmume_BOOL;
|
|||
# define LOCAL_TO_LE_64(x) (x)
|
||||
#endif
|
||||
|
||||
/* kilobytes and megabytes macro */
|
||||
// kilobytes and megabytes macro
|
||||
#define MB(x) ((x)*1024*1024)
|
||||
#define KB(x) ((x)*1024)
|
||||
|
||||
|
@ -223,4 +223,10 @@ inline void FlipByteOrder(u8 *src, u32 count)
|
|||
}
|
||||
}
|
||||
|
||||
//as a hack until we set up better cross-platform logging, we need to prevent printlog from being define in any platform but windows
|
||||
#ifndef _WIN32
|
||||
#define printlog(X) ((void)(X))
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue