X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Common%2Frt%20api%2Fglobal.h;fp=Common%2Frt%20api%2Fglobal.h;h=04c4e804dd1cd7b68f23398fa6adb916ac013655;hb=5c89685ca1bb34dc0d52cbeec5e950194f5544e1;hp=0000000000000000000000000000000000000000;hpb=e1058e327c99c9b9ddca7dce961a59e47e420c9f;p=freerainbowtables diff --git a/Common/rt api/global.h b/Common/rt api/global.h new file mode 100644 index 0000000..04c4e80 --- /dev/null +++ b/Common/rt api/global.h @@ -0,0 +1,49 @@ +/* + * rcracki_mt is a multithreaded implementation and fork of the original + * RainbowCrack + * + * Copyright 2009, 2010 Daniël Niggebrugge + * Copyright 2009, 2010 James Nobis + * + * This file is part of racrcki_mt. + * + * rcracki_mt is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * rcracki_mt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rcracki_mt. If not, see . + */ + +#ifndef _GLOBAL_H +#define _GLOBAL_H + +//#include + +#if defined(_WIN32) && !defined(__GNUC__) + #define uint64 unsigned __int64 +#else + #ifndef u_int64_t + #define uint64 unsigned long long + #else + #define uint64 u_int64_t + #endif +#endif + +#if defined(_WIN32) && !defined(__GNUC__) + #define UINT4 unsigned __int32 +#else + #ifndef u_int32_t + #define UINT4 unsigned int + #else + #define UINT4 u_int32_t + #endif +#endif + +#endif /* !GLOBAL_H */