#ifndef CONSTANTS_H_
#define CONSTANTS_H_

#define APP_NAME "Hinata"
#define MAX_VALUE 100

#define MAX_THREAD 6
#define MAX_THREAD_SIZE 10485760
#define MAX_RETRY 3

#define CEIL_DIV(a, b) (((a) + (b)-1) / (b))
#define MAX(x, y) ((x) > (y)) ? (x) : (y)

#ifdef _WIN32
#define SPLITTER_CHAR '\\'
#define SPLITTER_STR "\\"
#else
#define SPLITTER_CHAR '/'
#define SPLITTER_STR "/"
#endif

#endif