customizemii/CustomizeMiiInstaller_Source/source/utils.h
leathl abb6b9927d Implemented CustomizeMiiInstaler, Project Cleanup, etc...
git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@26 eddbe33b-e435-4246-ac25-f5eb65f9a13c
2010-01-12 17:03:46 +00:00

16 lines
230 B
C

#ifndef _UTILS_H_
#define _UTILS_H_
/* Constants */
#define KB_SIZE 1024.0
#define MB_SIZE 1048576.0
#define GB_SIZE 1073741824.0
/* Macros */
#define round_up(x,n) (-(-(x) & -(n)))
/* Prototypes */
u32 swap32(u32);
#endif