修复MB/GB宏定义BUG
This commit is contained in:
parent
bfe7f47b5c
commit
0ad5a10dd5
|
@ -7,8 +7,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SIZE_KB(n) ((n) * 1024)
|
#define SIZE_KB(n) ((n) * 1024)
|
||||||
#define SIZE_MB(n) SIZE_KB(n * 1024)
|
#define SIZE_MB(n) SIZE_KB((n) * 1024)
|
||||||
#define SIZE_GB(n) SIZE_MB(n * 1024)
|
#define SIZE_GB(n) SIZE_MB((n) * 1024)
|
||||||
|
|
||||||
#define SEC_2_MS(s) ((s) * 1000)
|
#define SEC_2_MS(s) ((s) * 1000)
|
||||||
#define MSEC_2_US(ms) ((ms) * 1000)
|
#define MSEC_2_US(ms) ((ms) * 1000)
|
||||||
|
|
Loading…
Reference in New Issue